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: 2018/03/16 09:50 by justin