Hello! I'm trying to figure out what javascript code calls the current actor's or player's attack selection.
I need this to animate the health box in the plugin known as SRD_HUDMaker
When its the player's turn, and the actor's current move selection phase, the hud box will move up and down, to show which character is deciding.
what battleplugins are you using to create a timed battle?
because by default turnbased does all skill selection in the selection phase before determing which action is executed in which order...
To prevent further confusion you should keep in mind how the timing in turn based battles really work:
In turn based default battle, the turn is split into input phase and execution phase.
During the input phase, all actors get their selection one after another without care for timing.
That is why that "isInputting" exists and is outside the battletime.
Then all actions get a "time number" that is basically battler.agi plus skill.speed plus random%
And after that all actions (both actor and enemy) are processed from highest number to lowest. Which specifically means that you can use skill speed to have some skills happen earlier or later than the agility of the battler would usually allow.