User Tools

Site Tools


prpl:deleteglobal

<- PRPL reference <- Vars and Functions

--*VARNAME

ArgumentsResultNotation
none none [ - ]

Description

Deletes VARNAME from the global heap. It is now unassigned. 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
<-*myGlobalVariable trace
# Shows 0 in the debug window.
prpl/deleteglobal.txt · Last modified: 2017/10/24 18:18 by GameGibu