SetValueInt - GlobalVariable

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)

See AlsoEdit