MV Running a common event at battle turn start

I thought up a combat mechanic that makes skill cost variables.
I have multiple characters so they'll each have a variable that serves as a "bank" and one that serves as their "max" amount they can have at a time. At the start of the characters' turn, the "bank" variable increases by 1( lets say they have a max of 5 ).

Common event checks for who the actor is, checks if the bank variable is = max variable, if false, it adds 1 to the bank variable.
This seems pretty solid to me, but i can't really test it to make sure unless i can call the common event at the start of each character's turn.

1765696095136.png

In normal events, you can just call common events pretty easily, but is there a way to call them before/during a player character's turn starts in battle, or is that not really achievable?
1765696652795.png

Yes, like this.
I tried it in my game, and it didn't seem to even start the event so i thought it was maybe my plugins. i opened a fresh project and used show text instead of a common event and it didn't run either.
It runs just fine on my test project. Is it set to Turn 1*X with the span set to Turn?
1765697772234.png


1765697756370.png



EDIT: Also, if you're running a CTB battle system, it is a discontinued and incomplete plugin and battle events don't work.
It runs just fine on my test project. Is it set to Turn 1*X with the span set to Turn?
View attachment 354999

View attachment 354998


EDIT: Also, if you're running a CTB battle system, it is a discontinued and incomplete plugin and battle events don't work.
So it did kind of work, but it only after i used the turn.

I ended up swapping over to Moghunter's ATB after my earlier post about Yanfly's CTB. I wanted to add this variable cost system to give it a similar feeling to what i had before without having to sacrifice battle events.

Ideally, i'd like the event to run just before the battle menu, or right when it pops up so that way the variable would be banked and could be used on that first turn.

*i probably should've worded what i was looking for as "before" instead of "at the start of a turn" mb*
Yea, technically the battle turn starts after the input phase, so to do stuff before the input phase you can try a pair of troop events:
  • Condition = Turn 0; Span = Battle (for the first input).
  • Condition = Turn End + Turn 1*X; Span = Turn (for subsequent inputs).
Yea, technically the battle turn starts after the input phase, so to do stuff before the input phase you can try a pair of troop events:
  • Condition = Turn 0; Span = Battle (for the first input).
  • Condition = Turn End + Turn 1*X; Span = Turn (for subsequent inputs).
Works fine in a fresh project but not my main project.

Yeah, i guess it's my combat plugin again since it wasn't working in my main project, i ended up redoing the system again to achieve what i was going for.

@Gensun, @caethyril Thank you both for taking the time to help me figure this out!

Original thread: https://forums.rpgmakerweb.com/threads/running-a-common-event-at-battle-turn-start.181437/