LifePlay-Revival/Docs/Modding/Functions/setGlobal.txt

11 lines
260 B
Text
Raw Normal View History

2018-04-05 21:18:14 +00:00
GlobalVariable.setGlobal(float or floatvariable)
Set (add if it doesn't already exist) a global variable to a certain number.
EXAMPLE:
NumberOfChildren.setGlobal(3)
OR
SugarDaddyID = Actor2.getID()
SugarDaddy.setGlobal(SugarDaddyID)