<- PRPL reference <- Vars and Functions

->*VARNAME

ArgumentsResultNotation
value none [ x1 - ]

Description

Stores value x1 in global variable VARNAME. Global variables can be accessed by any script on the map.

Examples

# In one script:
42 ->*myGlobalVariable
# In any script on the same map after that point:
<-*myGlobalVariable trace
# Shows 42 in the debug window.
		s1 = command.data.GetString();