Skip to content

End Battle

End Battle

Ends the current battle, optionally returning to the prior scene.

Properties

System

Name Explanation Type
Return to Prior Scene When enabled, the game will return to the scene that was active before the battle started. Toggle

Examples

End the Current Battle

This ends the current battle without returning to the prior scene.

end_battle();
{"Data":{"ReturnToPriorScene":false,"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Battle.EndBattleCommand"}

End the Current Battle and Return to the Prior Scene

This ends the current battle and returns to the scene that was active before the battle started.

end_battle(true);
{"Data":{"ReturnToPriorScene":true,"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Battle.EndBattleCommand"}