Is it possible to have Troop battle events run for specific actors?

I have some troop events that I want to be able to run after a specific actors turn, is there anyway this can be done?

There is no feature for at the end of specific actors turns but having switches able to do it is it a matter of creating variables for everyone's agility and having an event which activates a switch on the actors turn?
There is no feature for at the end of specific actors turns but having switches able to do it is it a matter of creating variables for everyone's agility and having an event which activates a switch on the actors turn?
I don't know how you would achieve this.

The closest thing I can think of is having a common event attached to a skill, since that runs after the skill is actually performed. But that's difficult and clunky, since it's still not exactly the end of the actor's turn and you'd have a hard time telling which actor used the skill without using script calls inside the event.

Plus you'd have to have that event attached to every skill in your game, which seems very inefficient.

It would be way simpler to use a plugin. Using Yanfly's Buffs and States and Auto Passive States, you can put a passive state on any actor and have a notetag for Custom Turn End Effect which will do whatever you want.
I don't know how you would achieve this.

The closest thing I can think of is having a common event attached to a skill, since that runs after the skill is actually performed. But that's difficult and clunky, since it's still not exactly the end of the actor's turn and you'd have a hard time telling which actor used the skill without using script calls inside the event.

Plus you'd have to have that event attached to every skill in your game, which seems very inefficient.

It would be way simpler to use a plugin. Using Yanfly's Buffs and States and Auto Passive States, you can put a passive state on any actor and have a notetag for Custom Turn End Effect which will do whatever you want.
I'd need the state to be reapplied every time it was the actors turn which I'm not too sure how I could do that either
I'd need the state to be reapplied every time it was the actors turn
No you wouldn't.

Using Yanfly's Buffs and States and Auto Passive States, you can put a passive state on any actor
No you wouldn't.
With the custom remove effect isn't that getting rid of the state on their turn? So it'd need to be reapplied somehow or am I missing something sorry?
1 - Why are you looking at Custom Remove? I said you'd use Custom Turn End. 😉

2 - You can't use Remove with passive states, because they never apply or remove. They are always there, and you're simply turning their effects on and off. But in this case, you have no need to turn it off.

3 - Also, you have it backwards - having a Custom Remove notetag doesn't somehow cause the state to be removed. The code inside it runs when the state is removed.
1 - Why are you looking at Custom Remove? I said you'd use Custom Turn End. 😉

2 - You can't use Remove with passive states, because they never apply or remove. They are always there, and you're simply turning their effects on and off. But in this case, you have no need to turn it off.

3 - Also, you have it backwards - having a Custom Remove notetag doesn't somehow cause the state to be removed. The code inside it runs when the state is removed.
Sorry, I drank my silly juice today and thought you were talking about Custom remove. The custom turn end one should work lol thank you very much

(For custom remove I meant that the state would end, the effects would happen then when it came around the actor would have to get the state back for it to repeat)

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-have-troop-battle-events-run-for-specific-actors.151626/