- Found in:
- Vanilla
Description
Wiki Description
Sets the current value of the global variable object. Will print an error and fail if you try to set a value on a constant global variable object.
Documentation Comment
Sets the global's current value
Caveats
Parameters
floatafNewValue
CK Wiki Description
What value to set the global to.
Examples
; Set the time of day to 0
TimeOfDayGlobalProperty.SetValue(0)Auto-Generated Example
float myFloat__afNewValue
myGlobalVariable__toCallFunctionOn.SetValue(myFloat__afNewValue)