GenSetPlayedTime


GenSetPlayedTime msPlayed

msPlayed

This command sets the game played time. The played time is the milliseconds since the start of the game. This command can be used to reset the played time to zero or restore a played time after loading a saved game.

The played time can be used to generate a game time and date for the player. In a RPG game the played time milliseconds could be scaled to get a game year, month and day.


Game Engine Overview







Become a Patron