Basically what the title says.
I figured out how to apply aura effects to party members and even enemies, but now I just need some help with applying an instant cast effect at the start of the turn, should an actor or enemy have a certain state applied.
The battlesystem doesn't work that way, and you need to know how it really works before you can continue.
Each turn is split into a selection phase and an action phase.
Between those two phases the action order is calculated from (battler.agi + skill.speed + random%) and then sorted highest to lowest.
There is a plugin that allows you to instant cast in the selection phase, but the result will be mixed into the selection phase - like an actor selects an instant cast skill, action is executed, then the actor selects a normal skill and the next actor selects its action.
To have the additional action/instant cast at the beginning of the action phase is actually more complex and I don't know of any plugin that allows it - especially since any force action before selected action inside the action phase will cost that actor its regular action.
so if you insist on that action happening at the beginning of the action phase then you would have to do it without a force action or using an entirely different game mechanic.
With that background info, please describe again when and how you want that action to happen.
I understand.
Here is how I was hoping to have initially.
Turn 1: Actor 1 starts in row 1, which is the front row, but I use my one action on them to move to row 2, which is the support row.
Turn 2: On the start of the next turn, the game checks if Actor 1 has the support row state, which is does since it moved to the support row on the previous turn, so the game has Actor 1 instantly use its support ability, and then I can control Actor 2 once again afterwards.
Again, like what you said, this would absolutely need a plugin that I also have no idea if it even exists, or if it's even possible. I am sure though that I can find a workaround/alternative if this simply is not possible.
I also came up with another way if the first option does not work.
Turn 1: Actor1 still starts on the first row, and then I use my one action to move them to row 2, however, once they land onto row 2, the game checks which Actor (based on their Actor ID) landed on row 2, and then Actor1 would use its support skill (again determined by the Actor ID) immediately using the force action command.
Turn 2: Actor1 is pulled back into row 1 by an enemy, and once it does, the game checks again which actor left row 2, and then forces another action (determined once more by Actor ID) to remove the effects of the support skill.