Difference between revisions of "Talk:Script File Structure"

Jump to navigation Jump to search
no edit summary
imported>Qazaaq
 
imported>Qazaaq
Line 23: Line 23:
</source>
</source>


`global function MyGlobalFunction cannot be called on an object`
<source lang="text">
`Error while trying to typecheck script MyNamespace:Object: Index (zero based) must be greater than or equal to zero and less than the size of theNo output generated for MyNamespace\Object.psc, compilation failed.`
global function MyGlobalFunction cannot be called on an object
Error while trying to typecheck script MyNamespace:Object: Index (zero based) must be greater than or equal to zero and less than the size of theNo output generated for MyNamespace\Object.psc, compilation failed.
</source>


The error above goes away and can be imported if the globals are relocated to a script outside the `Objects` inheritance.
The error above goes away and can be imported if the globals are relocated to a script outside the `Objects` inheritance.
Anonymous user

Navigation menu