(Formerly known as GetGlobalString, which is now obsolete)
(Formerly known as SetGlobalString, which is now obsolete)
static String Game.GlobalStrings[index]
Gets/sets global string index. Global strings provide you with an easy way to share
string variables between scripts. There are 50 available global strings, with index
values from 0 to 49.
Example:
Game.GlobalStrings[15] = "Joe";
Display("Global string 15 is now: %s", Game.GlobalStrings[15]);
will set global string 15 to contain "Joe".
See Also: GetGlobalInt, SetGlobalInt
|