SetValueInt - GlobalVariable
Revision as of 00:04, 12 September 2016 by imported>Goggle (→Examples)
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.