GetRealHoursPassed - Game
Revision as of 14:11, 30 April 2017 by imported>Lisselli (Clarifying info on the return value.)
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.