User Tools

Site Tools


start_battle

This is an old revision of the document!


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.1588088293.txt.gz · Last modified: 2020/04/28 08:38 by justin