This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start_battle [2017/05/15 09:16] – justin | start_battle [2021/04/21 18:53] (current) – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
Starts the specified battle. The battle name is case-sensitive. | Starts the specified battle. The battle name is case-sensitive. | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
start_battle(battle_name) | start_battle(battle_name) | ||
Line 12: | Line 13: | ||
====Example: | ====Example: | ||
- | < | + | < |
- | start_battle(" | + | start_battle(" |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Start Battle** function to ... | + | Use the **Start Battle** function to manually trigger a battle as part of a [[script|scripted]] sequence, for example to force the player to kill some guardians before entering a dungeon. |
</ | </ | ||