Force Action in a Custom Event called during battle?

I'm experimenting with the Visustella STB battle system plugin, specifically trying to make an all out attack like from the persona series, as that's the combat system the plugin was based on. The example video on the plugin wiki (the Yanfly.moe wiki) shows this being done with the feature of calling a common event upon all enemies being exploited and dealing insane damage to the enemy party.

Now, I'm almost willing to bet money that they accomplished that by just having a plugin command from their Battle Core that dealt that massive number rather than having a formula of some kind. So I wanted to try and set up the mechanic to force a skill through that would have an action sequence that dealt individual hits based on the current members of the player's party.

I have the common event set up and the action sequenced skill that I want to be forced through made and ready to go. The common event triggers as intended via the STB plugin, but when I select the option to trigger the force skill, the battle continues on like nothing happened (no damage or visual changes).

Now, I did a bit of looking around and found a post for MV that said the equivalent plugin from the Yanfly Engine had trouble with the 'Force Action' command, which is what I was trying, which might be what's happening to me here. However, that post seemed to talk about the 'Force Action' being done via a troop event, so I can't be sure.

Does anyone know of another way, through either code or plugins, to force a skill to play from the common event the plugin calls? Or barring that, if I should instead try and use plugin commands inside the original common event called by the plugin to replicate the desired effects of the skill in some way.
Now, I'm almost willing to bet money that they accomplished that by just having a plugin command from their Battle Core that dealt that massive number rather than having a formula of some kind.
I got a bit lost on this part - why can't you have a formula in an event?

You can do math and reference battlers anywhere, not just inside the damage formula of a skill.
Force Action is not great in general. There's a few different drawbacks associated with it. I'm not too familiar with the VisuStella library, but they seem to indicate in their documentation that they rewrote how Force Action works.

Said rewrite could explain why Force Action isn't working as you expect, or it could also be because Force Action just has a bunch of limitations. Maybe consider doing what their documentation suggests, which is using the Action Sequences provided by the plugin.

Generally the only scenario where I'd personally use Force Action is:
  1. The battler already took their normal action(s), because by default Force Action will eat their turn
  2. The action being forced is relatively within the scope of something the default skill/action system can do
Other than that, I'd try to avoid Force Action.
I got a bit lost on this part - why can't you have a formula in an event?

You can do math and reference battlers anywhere, not just inside the damage formula of a skill.
From all my previous times making action sequence, I was under the assumption that the plugin commands specifically for action sequences wouldn't work properly if the common event for the sequence wasn't triggered in response to a skill use. I'll try experimenting outside that and see what I get.

Maybe consider doing what their documentation suggests, which is using the Action Sequences provided by the plugin.
I checked the wiki documentation and the plugin in case there was any difference, but I'm not seeing any included Action Sequences. There are the plugin commands, but those are either Battle Core plugins that force exploits or adjust extra actions, or the commands from the STB plugin that affect the turn order list. I'm not sure where these included action sequences are coming from.
From all my previous times making action sequence, I was under the assumption that the plugin commands specifically for action sequences wouldn't work properly if the common event for the sequence wasn't triggered in response to a skill use.
I'm confused.

No one is talking about action sequences.

The plugin includes an option for a common event to be triggered if the entire troop is exploited.

You said that you knew about that, but you couldn't use a formula to determine the damage dealt - I pointed out that's not correct.

None of that exchange mentioned action sequences.
I found a solution to my problem. I have everything working as I want it to now.


My original intent (before learning about the troubles with Force Action) was that I had the common event that triggered upon exploiting all enemies, then if the player confirmed to go through with the all out attack, it would use 'Force Action' to force a skill for the all out attack, which had it's own action sequence attached which performed different animations and damage based on which actors were currently in the party.
My reasoning for that original train of thought was that the plugin commands from Battle Core might not work if they were used outside of the context of a skill, meaning that the action sequence would need to be tied to a skill.
After experimenting, I found that to not be the case, and just had to do some adjusting to those action sequence plugin commands to opporate as intended from just having the common event that sequence was housed in called inside the exploted common event.

...I'm hoping that makes sense.

Original thread: https://forums.rpgmakerweb.com/threads/force-action-in-a-custom-event-called-during-battle.161343/