SetValueInt - GlobalVariable
Revision as of 20:15, 29 June 2013 by imported>Thingy Person (→Syntax)
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 aiNewValue)
SetValue(aiNewValue as float)
endFunction
ParametersEdit
- aiValue: What value to set the global to.
Return ValueEdit
None.
ExamplesEdit
int newTime = 5
TimeOfDayGlobalProperty.SetValueInt(newTime)