SetValueInt - GlobalVariable
Revision as of 18:47, 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
Syntax
Function SetValueInt(int aiValue)
SetValue(aiNewValue as float)
endFunction
Parameters
- aiValue: What value to set the global to.
Return Value
None.
Examples
int newTime = 5
TimeOfDayGlobalProperty.SetValueInt(newTime)