GetRealHoursPassed - Game

Member of: Game Script

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

SyntaxEdit

float Function GetRealHoursPassed() native global

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

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

NotesEdit

  • 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 AlsoEdit