Skip to content

Exit

Exit

Ends the scene engine and exit the game.

Properties

System

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

Examples

Exit the Game

Ends the scene engine and exits the game using the current scene's exit transition.

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

Exit the Game Without a Transition

Exits the game immediately without playing any scene transition.

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