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
SyntaxEdit
Function SetValueInt(int aiValue)
ParametersEdit
- aiValue: What value to set the global to.
Return ValueEdit
None.
ExamplesEdit
DoCoolStuffGlobal.SetValueInt(1)
NotesEdit
- Slightly faster to use SetValue - GlobalVariable and cast as int, as this function calls that one and then casts to int.