Polls

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website. For more mapping and modding information, see our Wiki: MODSonWiki.com

I didn't entirely understand the issue here.
What does each gsc file do? Map script? or what?
You want to use multiple gsc files in your map right?
Or you have multiple maps with one gsc file each?
And what is replaced from what? when this happens?

In the first case you can call a gsc main function from your map's main gsc like this:

Code:

thread maps\nameofyourextragscfile::main();

Given that there's a main function in the nameofyourextragscfile.gsc
that starts up the whole script.