Multi-Scripts
Posted: 11 Jun 2012, 15:32
Hey Guys...
I'm making a map and the script file is called "gangs.mis", and to make the code more readable I wanted to put some functionality in separate script files. So I made a folder and called it "gangs" (like the main script) and made a new script file inside that folder called gangs_callgang.mis. When I use LAUNCH_MISSION in the main script the compiler doesn't recognize this command. How can I implement this thing?
Another question is that if I have some objects declared and created in the main script, can I use them in the "little" script without declaring them again?
Thanks in advance...
I'm making a map and the script file is called "gangs.mis", and to make the code more readable I wanted to put some functionality in separate script files. So I made a folder and called it "gangs" (like the main script) and made a new script file inside that folder called gangs_callgang.mis. When I use LAUNCH_MISSION in the main script the compiler doesn't recognize this command. How can I implement this thing?
Another question is that if I have some objects declared and created in the main script, can I use them in the "little" script without declaring them again?
Thanks in advance...