User Tools

Site Tools


restart_game

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 choice leading to one end of a multiple-ending story or after stepping onto a deadly trap that can't be survived.


Editor Node:

restart_game.txt · Last modified: 2021/04/21 18:44 by justin