SetValueInt - GlobalVariable

From the CreationKit Wiki
Revision as of 19:15, 29 June 2013 by imported>Thingy Person (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 aiNewValue)
	SetValue(aiNewValue as float)
endFunction

Parameters

  • aiValue: What value to set the global to.

Return Value

None.

Examples

int newTime = 5
TimeOfDayGlobalProperty.SetValueInt(newTime)

See Also