Setup Battle Commands

The battle command is defined following a script. The default script can be found in the plugin parameter Commands of the add-on. This is the default script:

move 82, attack 76, [extra], skills 64, items 182, scan 75, pass 84

The format of each element of the script is: [command_id] [icon_index]. The default command IDs are:

  • move: Move action
  • attack: The default attack command
  • skills: Use skills
  • items: Use items
  • scan: Let you examine battlers and the battle field
  • pass: End the turn

The [extra] element is a placeholder for commands that are added during the battle, through states for instance.
[icon_index] is optional.

Custom Commands Per Actor

Actors can have their own battle commands. Use this complete tag inside battlers or states notebox:

<letbs_commands>
script here...
</letbs_commands>

Example:

<letbs_commands>
move 82, [extra], attack 1, pass 84
</letbs_commands>

Shortcut Commands

You can create commands that act like shortcuts to skills and items. In that case, [command_id] can be replaced with:

  • skill[ID] : a shortcut to the specified skill
  • item[ID] : a shortcut to the specified item

If [icon_index] is missing, the specified object's icon index will be used.
Example:
move 82, skill[18], item[1] 5, pass 84.

Extra Commands

Equipment and states can add extra commands to the battler's commands window. They are set at the [extra] position. For instance, let's take a dummy battler with the following commands: move, [extra], pass, and a state with the following tag:

<letbs_commands>
skill[18], skill[20]
</letbs_commands>

The battler will have in fine the following commands: move, skill[18], skill[20], pass.