Difference between revisions of "Talk:Script File Structure"
Jump to navigation
Jump to search
response to Rasikko
imported>Scrivener07 m (→Fragments) |
imported>Qazaaq (response to Rasikko) |
||
| Line 53: | Line 53: | ||
It appears you can't import functions into a fragment. :/ --[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2018-10-28T01:56:55 (EDT) | It appears you can't import functions into a fragment. :/ --[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2018-10-28T01:56:55 (EDT) | ||
:But you can still import them using the standard syntax (ScriptName.Scriptfunction) --[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2018-10-28T03:13:29 (EDT) | :But you can still import them using the standard syntax (ScriptName.Scriptfunction) --[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2018-10-28T03:13:29 (EDT) | ||
::Are you sure about that? A fragment is still a normal script file even though the CK does some code generation to hide the "scary" parts from people without a programming background. View and edit the fragments source and you will see that you can add an import. Let me know if you have further questions. Fragments are a bit odd. [[User:Scrivener07|Scrivener07]] ([[User talk:Scrivener07|talk]]) 2018-10-28T12:23:55 (EDT) | |||