SetValueInt - GlobalVariable

From the CreationKit Wiki
Revision as of 18:47, 29 June 2013 by imported>Thingy Person (→‎Syntax)
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 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)

See Also