FOR_EACH_ALLY_IN_BATTLE_PARTY (a child element of STEP) is a FOR-loop shortcut that allows you to update every member in the player's battle party. Use the name Target to access the character inside the loop.
FOR_EACH_ALLY_IN_BATTLE_PARTY supports the use of its own child elements as values. For a list of supported child elements please refer to the tree menu on the left.
In this example, a for loop is created to add 100 Hit Points (HP) to each member in the player's battle party. Note that the character is accessed by using the name Target in each loop.
- <STEP>
- ......
- <FOR_EACH_ALLY_IN_BATTLE_PARTY>
- <CHARACTER>
- <NAME>Target</NAME>
- <HP>
- <ADD_ITSELF>100</ADD_ITSELF>
- </HP>
- </CHARACTER>
- </FOR_EACH_ALLY_IN_BATTLE_PARTY>
- ......
- </STEP>