- Found in:
- Vanilla
Description
Wiki Description
Sets the current value of the global variable object, taking an int as a parameter. See GlobalVariable.SetValue(...)
Documentation Comment
Sets the global's current value
Caveats
Parameters
intaiNewValue
CK Wiki Description
What value to set the global to.
Examples
int newTime = 5
TimeOfDayGlobalProperty.SetValueInt(newTime)Auto-Generated Example
int myInt__aiNewValue
myGlobalVariable__toCallFunctionOn.SetValueInt(myInt__aiNewValue)