User Tools

Site Tools


restart_game

This is an old revision of the document!


Restart Game


Restarts the game, restoring everything to its original state as if a new game had been started.

Signature:

restart_game()
ArgumentDescriptionTypeRequired
(No arguments for this function)

Example:

restart_game()

Results: The game is immediately restarted.

Use the Restart Game function when the player has made an incorrect decision leading to the end of a story with multiple endings, or after stepping onto a deadly trap that can't be survived.


Editor Node:

restart_game.1587517860.txt.gz · Last modified: 2020/04/21 18:11 by justin