Detect User Turn in Combat

● ARCHIVED · READ-ONLY
Started by Milennin 1 posts View original ↗
  1. Hello,

    I'm requesting a plugin that will allow me to detect who is making a move in combat when an action is performed.

    I want the plugin to store the value of who is making a move into a variable (1, 2, 3, 4 for each individual hero, and 5, 6, 7, 8, 9, 10, 11, 12 for each individual monster), which can then directly be accessed through a Common Event call in the skill's effect.

    Example of how it would function in combat, step by step:

    -Monster #2 is attacking.

    -Plugin sets variable, in the case of monster #2, it is set at 6. <--- where the plugin does its magic

    -Attack skill calls Common Event through its effect.

    -Common Event runs conditional branch, and makes stuff happen, depending on who just moved (monster #2 in this scenario).