using external script files
Posted: Tue Apr 13, 2010 9:43 pm
before i get too far into this immensely massive script project that i'm starting, i want to make sure i understand a few things about external scripts.
mainly, if i have an external script and its listed in the #include stuff,
could i have in it Event (“buildingTriggered”, “5”) and have it work when the building is triggered?
or would i have to have the event in the main script and use a 'CustomEvent( “external script” )' command to access the external script?
also, do the external scripts have to be .mts files as well? and do they need to be in a certain folder?
mainly, if i have an external script and its listed in the #include stuff,
could i have in it Event (“buildingTriggered”, “5”) and have it work when the building is triggered?
or would i have to have the event in the main script and use a 'CustomEvent( “external script” )' command to access the external script?
also, do the external scripts have to be .mts files as well? and do they need to be in a certain folder?