SetGlobalInt (int index, int value)
Sets the global int INDEX to VALUE. You can then retrieve this value
from any other script using GetGlobalInt.
There are 500 available global variables, from index 0 to 499.
NOTE: GlobalInts are now considered obsolete. Consider using
global variables instead, which allow you to name
the variables.
Example:
SetGlobalInt(10,1);
will set the Global Integer 10 to 1.
See Also: GetGlobalInt
|