GetCurrentGameTime - Utility

From Creation Kit
Jump to: navigation, search

Member of: Utility Script

Obtains the current game time in terms of game days passed (same as the global variable)

Syntax

float Function GetCurrentGameTime() native

Parameters

None.

Return Value

The current game time in terms of "game days passed".

Examples

; What is the current in-game time?
Debug.Trace("The current time is: " + Utility.GetCurrentGameTime() + " in game days passed")

See Also