SetValueInt - GlobalVariable
Jump to navigation
Jump to search
Member of: GlobalVariable Script
Sets the current value of the global variable object, taking an int as a parameter. See SetValue - GlobalVariable
Syntax[edit | edit source]
Function SetValueInt(int aiNewValue)
SetValue(aiNewValue as float)
endFunction
Parameters[edit | edit source]
- aiValue: What value to set the global to.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
int newTime = 5
TimeOfDayGlobalProperty.SetValueInt(newTime)