GetCurrentGameTime - Utility

Member of: Utility Script

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

SyntaxEdit

float Function GetCurrentGameTime() native

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit