User Tools

Site Tools


end_battle

This is an old revision of the document!


End Battle


Ends the current battle. The specified outcome determines whether or not the battle ends in victory.

Signature:

end_battle(victory)
ArgumentDescriptionTypeRequired
victoryDetermines whether or not the battle ends in victory.BooleanYes

Example:

end_battle(true)

Results: The current battle ends with a victory.

Use the End Battle function to allow the player to “flee” a turn-based battle when stepping on a specific tile within the battle map.


Editor Node:

Visual Demo:

end_battle.1580944763.txt.gz · Last modified: 2020/02/05 15:19 by justin