GetRealHoursPassed - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

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

Syntax

float Function GetRealHoursPassed() native global

Parameters

None.

Return Value

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

Examples

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

Notes

  • 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