Difference between revisions of "GetCurrentGameTime - Utility"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
(Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Utility Script Obtains the current game time in terms of game days passed (same as the global variable) == Synt…')
 
(This is already clear by virtue of it being a float (see Syntax section))
Tag: Undo
 
(4 intermediate revisions by one other user not shown)
(No difference)

Latest revision as of 10:15, 13 September 2024

Member of: Utility Script

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

Syntax[edit | edit source]

float Function GetCurrentGameTime() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

See Also[edit | edit source]