Multiple files with scripts

Started by tiagocorreia, Fri 28/04/2006 12:00:06

Previous topic - Next topic

tiagocorreia

Hi,

Currently there is a global script, and the rooms have also their own scripts.

Is it possible to add more files with scripts external to this ones?

I would like this, since the global script is starting to get very big.

Ashen

#1
You might be able to move some of it into Module scripts.
I don't think it's really necessary - if the script's big, then it'll be big however you organise it - but you might find it neater as a series of modules contaning related functions. However AFAIK some things (I think GUI Control functions and Character interactions? I remember having some problems with them, anyway) HAVE to be in the Global Script. (Although this is probably workroundable, by having the Global Script function call a Module function.)
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk