GetRealHoursPassed - Game

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Returns the number of real-life hours the player has been playing.

Syntax[edit | edit source]

float Function GetRealHoursPassed() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The number of real-life hours the player has been playing.

Examples[edit | edit source]

Debug.Trace("You've been playing for " + Game.GetRealHoursPassed() + " hours!")

Notes[edit | edit source]

  • Return value is the total real-life hours the player has been playing since the creation of the character. If your save file says 400 hours, that's what this function will return.

See Also[edit | edit source]