Mod:Creation Kit/GetValueInt - GlobalVariable

Member of: Mod:Creation Kit/GlobalVariable Script

Gets the current value of this global object, cast as an int for convenience.

Syntax
int Function GetValueInt

Parameters
None.

Return Value
The current value the global holds, cast as an int.

Examples
int timeOfDay = TimeOfDayGlobalProperty.GetValueInt
 * Obtain the current time of day

Note

 * Slightly faster to use Mod:Creation Kit/GetValue - GlobalVariable and cast as Int, as this function calls that one and then casts the value to int.