Change regen to action turn from battle turn?

EDIT:


Figured the first question out but now the new question is how to get the TP regen to change from regening every battle turn to every action turn?


Old:


Basically trying to figure out what's the code for the turn count for battlers? 


My goal is to increase a battlers TP by 1 every time their turn comes around.


And for the regen tp I need it to go up by 1 every turn.
make a troop event to run every turn and increase the TP by one for all battlers - the turn counter is one of the possible conditions for the troop events and can be set to several different sequences, including once per turn.
make a troop event to run every turn and increase the TP by one for all battlers - the turn counter is one of the possible conditions for the troop events and can be set to several different sequences, including once per turn.





 






 



Crap, forgot to specify I'm using Yanfly's Enhanced TP mode. 


And for one of the TP modes I'm trying to make that specific TP mode gain 1 TP every turn.


f17c3d8519b8fdc52248fb6b0f2d2599.png
While I'm not particularly familiar with the script since I personally don't use TP, couldn't you just change the value to be user.turncount+1? Generally in my experience Yanfly's scripts support those sorts of equations.
Lol. I literally just needed to put a 1 there. Nothing else. doh.


However, the TP increases for everyone at once instead of when their action comes up. But that's a different problem entirely. 


So the new question is how to get the TP regen to change from regening every battle turn to every action turn?
then why do you go through those troubles at all?


Each action is either a skill or an item use.


Both skills and items have a value "TP gain" on skill use - place a 1 there for every skill and item and the actor will gain one TP on every action.
then why do you go through those troubles at all?


Each action is either a skill or an item use.


Both skills and items have a value "TP gain" on skill use - place a 1 there for every skill and item and the actor will gain one TP on every action.





 



Sorry, I worded that badly.


I meant before their action turn.


So before they used a skill or item they would gain 1 TP.

Original thread: https://forums.rpgmakerweb.com/threads/change-regen-to-action-turn-from-battle-turn.71204/