SetValueInt - GlobalVariable
Revision as of 19:02, 29 June 2013 by imported>Templar-von-Midgard (SetValue(aiNewValue -> SetValue(aiValue)
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(aiValue as float)
endFunction
Parameters
- aiValue: What value to set the global to.
Return Value
None.
Examples
int newTime = 5
TimeOfDayGlobalProperty.SetValueInt(newTime)