Difference between revisions of "GetValueInt - GlobalVariable"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
(No difference)

Revision as of 15:27, 18 October 2011

Member of: 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

; Obtain the current time of day
int timeOfDay = TimeOfDayGlobalProperty.GetValueInt()

See Also