Skip to content

Reset Game

Reset Game

Clears the entire scene stack and restart all cores from the very beginning.

Properties

System

Name Explanation Type
Use Scene Transition Whether to use the transitions associated with the current scene. Toggle

Examples

Reset the Entire Game

Clears the entire scene stack and restarts all cores from the very beginning using the current scene's exit transition.

reset_game();
{"Data":{"UseTransition":true,"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Scene.SceneResetGameCommand"}

Reset the Entire Game Without a Transition

Resets the game immediately without playing any scene transition.

reset_game(no_transition);
{"Data":{"UseTransition":false,"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Scene.SceneResetGameCommand"}