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 aiValue)
Parameters[edit | edit source]
- aiValue: What value to set the global to.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
DoCoolStuffGlobal.SetValueInt(1)
Notes[edit | edit source]
- Slightly faster to use SetValue - GlobalVariable and cast as int, as this function calls that one and then casts to int.