if you need to use a variable in more than 1 script, then in the first script that makes the variable, type in the following line
myvariablename= blah blah blah
publicvariable "myvariablename"
eg
scoreE=scoreE+1
publicvariable "scoreE"
-----------------------------------------------------------------------------------------------------
ok lads, ive made a really cool mission but i dont want to give the game away just yet. i need help making units when the players are within XXX distance of the particular town. how can i do this (and creat waypoints for them) easily?
This sounds coopy to me so i dont really know
i would imagine you need to make a trigger that activates an AI creation script.
If you look in the depot section theres probably examples of the ai scripts