Difference between revisions of "GetCurrentGameTime - Utility"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Catwheezle
(→‎See Also: Ordering, added item)
imported>Lmstearn
Line 23: Line 23:


== See Also ==
== See Also ==
*[[Function for Time of Day]]
*[[Utility Script]]
*[[Utility Script]]
*[[GameTimeToString - Utility]]
*[[GameTimeToString - Utility]]
*[[GetRealHoursPassed - Game]]
*[[GetRealHoursPassed - Game]]
*[[WaitGameTime - Utility]]
*[[WaitGameTime - Utility]]

Revision as of 15:39, 27 January 2015

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