How to run a battle event once the boss is at 0 HP

Here's what I'm trying to do.

During a boss battle, once the boss falls to 0 HP, I want to trigger a battle event. This event will have the boss do one more final attack, followed by a final attack by the hero.
One thing I would do is give it more HP than intended (like by a lot so that the player doesnt accidentally go through). Thats what FFV did a few times, I think. Once the desired amount of damage taken is taken, you force an action. Then you have the boss die right after via battle event.
give the boss a state that lets them resist death at turn 0, then have your event run while the boss is at 0%, remove the state, and kill them again for good measure
Works

Now I want the enemy's forced attack to fail.

Should I just make a duplicate of the skill being used and give it a success rate of 0% ?
I think it might be a bit easier to give the party an invisible state that grants them 100% evasion (just make sure it's removed at battle end). But duplicating the skill as you say is definitely another possibility. A third possibility might be to apply a state to the boss that sets their hit % to 0.
Everything seems to be working, but the battle event skips the force action commands. I'm not sure why. Perhaps it is because the only enemy in the battle is at 0 HP, so it skips any battle attacks.

Untitled.png

Untitled2.png


Also I notice that a Battle Event runs all the text commands before running any action sequences.

[Update]

I'm using VisuStella's Battle Core plugin, which I read in another thread queues the forced actions (not sure what that means). It sounds like I just run the cutscene like an action sequence in the Battle Event.

[Update 2]
So I've been playing around with this for a while. Since I can't use Force Action commands in Battle Events (when using VisuStella), I tried simply copy/paste the action sequence of the common event into the Battle Event, but got an error.
Untitled.png


For those of you who know what your'e doing, I probably look pretty ridiculous, but any help is appreciated.

[Update]
I found a solution, although I don’t know if it’s the best one.

In the battle event I used a Force Action command that linked to a skill that is also linked to a common event. I then wrote the common event as if it was the battle event. Everything works fine.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-run-a-battle-event-once-the-boss-is-at-0-hp.183779/