• Tutorials

  • Home
  • OnStartCombat

    Each combatant is given a special ability named "Competing" at the start of a combat event. Then all special ability scripts named OnStartCombat are run for each combatant. So, if you want to accomplish something for a character at the start of combat, you should define a Special Ability (using the Special Abilities Editor) named Competing with a script named OnStartCombat. The scripts for the combatants are run in 'priority' order with the highest priority combatant being the first. As a default, the party combatants are run before the monster combatants. You can adjust the priority using the PreStartCombat hook described below.

    Parameters

    None

    Context

    Character