MZ Two Skill Uses Per Turn (STB Plugin and InputComboSkills Plugin)

Hi everyone,

I'm struggling a bit with the VisuStella STB system with a simple directional combat set up.

I would like to create a system where the player is able to act twice per turn but no more than twice. Currently I've tried using STB plugin commands and am able to add extra turns if a common event is activated via skill.

However I've tried everything I can think of to limit this to simply acting twice per turn and no more. Would it be possible to create a basic two skill use per turn system this way?

The general premise quite simple but I'm having a heck of a time trying to figure it out.

Thanks!
Well can't you put in the common events a conditional that they only grant the stb extra action if variable X = 0 (and sets the variable to 1). So next time they use the skill they don't get the extra action.
Then you just need to set the variable back to 0 for next turn. Try doing it with like BattleCore notetags, I think <JS Post-End Action> [edit: use turn start] to use script $gameVariables.setValue(X,0); (replace X with variable id)
Well can't you put in the common events a conditional that they only grant the stb extra action if variable X = 0 (and sets the variable to 1). So next time they use the skill they don't get the extra action.
Then you just need to set the variable back to 0 for next turn. Try doing it with like BattleCore notetags, I think <JS Post-End Action> to use script $gameVariables.setValue(X,0); (replace X with variable id)
Unfortunately I'm not near my project right now but would it look something like this then?

Weapon Skill activates Common Event A

Common Event A with Conditional that if Var X = 0 then set Var X to 1 and engage the Extra Attack plugin command.

Then I simply put a post end action notetag into the weapon Skill itself that sets the variable to 0?

I apologize if this is very basic to ask as I am still learning.
Put the notetag on the actor
Put the notetag on the actor
Perfect!
I'll give it a try when I get home
Thanks!

EDIT Unfortunately I wasn't able to get it to work with this set up.
I tried some other ideas but the best I can do is get it to allow the first character to use a skill twice before moving on however after that it only permits 1 use per character.

I've tried everything I can think of when it comes to setting the variable back to zero after a second skill is used however it either completely disables a second skill use or it simply permits infinite skill uses.
If you do it for multiple actors, you'd need their own variables (and you can check in the action sequence what last actor id to act). Maybe you can also use states for the check.

But I had a brain-fart yesterday with the 'end action' notetag. Of course it should be something else, like 'start turn' notetag (or every turn troop event), because if it's 'end action' then the variable goes back already after the very first action.

I tested it with two actors and just a troop event setting the variable and it seems to work.

Original thread: https://forums.rpgmakerweb.com/threads/two-skill-uses-per-turn-stb-plugin-and-inputcomboskills-plugin.176428/