GetValueInt - GlobalVariable
From Creation Kit
Member of: GlobalVariable Script
Gets the current value of this global object, cast as an int for convenience.
int Function GetValueInt() return GetValue() as int endFunction
The current value the global holds, cast as an int.
; Obtain the current time of day int timeOfDay = TimeOfDayGlobalProperty.GetValueInt()
- Under the hood, this is 'GetValue() As Int' which is measurably faster.