Mr.BoDean
Greetings!
This is my limited take on MP variable scripting, mostly taken from dissecting other peoples scripts:
There are three types of variables:
"_var1" is script local - it only applies to within the script.
"var2" is machine global - it will apply to all scripts/triggers etc. However, in MP it will only apply to scripts executed on that computer, not over the whole network.
"publicvariable var2" is network global - it makes "var2" into a variable accross the network (i.e. on all computers in that game). So
var2=true; publicvariable var2
would set var2 as true accross the whole network.
Now I could be wrong here, so feel free to correct me.
-Supr. Cmdr. PsyWarrior
-Psychic Productions