User Tools

Site Tools


start_battle

Start Battle


Starts the specified battle. The battle name is case-sensitive.

Signature:

start_battle(battle_name)
ArgumentDescriptionTypeRequired
battle_nameName of the battle to start (as defined in the Battle Editor).StringYes

Example:

start_battle("Slime Ambush");

Results: The battle named “Slime Ambush” is started.

Use the Start Battle function to manually trigger a battle as part of a scripted sequence, for example to force the player to kill some guardians before entering a dungeon.


Editor Node:

Visual Demo:

start_battle.txt · Last modified: 2021/04/21 18:53 by justin