Battle events are triggering back to back when I do not want them to

I have a battle event set up to play a dragon roar sound effect when the dragon's HP falls below 7%. This is an indication that the dragon is about to sit on the party members and crush them dealing massive damage if you do not prepare for the attack.
I want the dragon to do the crush attack the turn AFTER the warning roar and message displays that the dragon is about to crush the party members. However, the crush attack happens literally right after the warning with no option to select moves in between. I want the user to take a turn and heal up, get defenses ready, and apply buffs before the dragon does her move.
but no matter what I try to do to to stop both pages from activating back to back, the pages STILL activate back to back.

I tried setting up a switch operation on the page with the warning dragon roar and setting the conditions to the next page to only activate with the switch is on, and turn is 0+1*X

But both pages STILL activate back to back immediately.

I tried changing it to the switch being on and turn is 0+2*X but despite the fact that I told it two pages now, the warning and the action STILL performs back to back killing the party members without letting the user prepare defenses. I assume that it is because it is looking for literally two turns. Like from the beginning of the fight.

I do not see any options for "x amount of turns after a certain page completes" or anything like that. You cannot set page conditions to a certain variable or anything like that. Also it seems that "turn #" holds more weight that switch # as turn # is listed first if I select both.

How do I set it up to where it waits a turn after the previous events occurred?
I assume that it is because it is looking for literally two turns. Like from the beginning of the fight.
Correct, that's what that condition means.

Instead of trying to use two troop events, just put it into the enemy's Action Pattern.

Include the crush as one of its listed skills, with the highest priority number, but a condition of the roar switch is on.
Problem with that is, I only want the dragon to use the move only once. If it has highest priority, she could use it multiple times.
Problem with that is, I only want the dragon to use the move only once. If it has highest priority, she could use it multiple times.
...not if the switch is off?

You just make a common event that turns the switch off and put that in the Effects section of the crush skill.
That solution DID NOT work for me! Despite having the turn turn the switch on, having the crush attack set to use when the switch is on, and having the crush move set on max priority (which appears to be 10), the dragon is NOT using the crush move whatsoever!

Nothing else is max priority. The next highest priority is "attack" which is set a 5. The game is ignoring the priority of 10 and the switch being on.

Do you have any other solutions?
This is how it is set up but it is NOT working!

The game is either ignoring the fact that the switch is turned on or the the fact that it is set to the highest priority.
MoltresRider, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
What happens instead? A different skill, or nothing at all? Have you already set up turning the switch off? Are you sure it's not switched off before the attack can be executed?

ETA:
I was thinking how it could be done in the troop events. How about this:

troop event.png


Instead of battle, have it run every turn when the enemy's HP is low. First, it will run your roars and the text about contemplating, because the switch is off and the variable is 0. Next turn, the variable is 1, so the enemy will do the forced crush attack. Next turn, the switch is on, so nothing happens any more.
Would that work for you? (I haven't tested it)
She continues her normal pattern as if the move is not even there. She does not do the move at all. I defeated her four times in test play and she never used it once. That is not counting the umpteen times I closed the game during battle when the move is not executed.

The battle event that turns the switch on IS activating because I see the text and I hear the audio cue.

And I am 100% sure that nothing is turning the switch off. The only thing that turns it off is the crush attack itself—and that is not being executed.

I have all my switches outlined in Microsoft Excel with numbers, names, and what they do. I italicize the ones that turn back off with a command, and embold the ones that are on and off repeatedly so I am double 100% sure that nothing is turning the switch back off. This Excel thing is something that I have done since the PS1 version of RPG Maker.

Since the switch is being turned on in battle, it cannot be turned off by an event outside of battle until the battle is over anyway. Only a battle event can turn it off or an attack that calls an event to turn it off and the only attack with that is the crush attack.

A Google search of 'RPG Maker VX Ace highest priority skills not working' does not bring anything up.

____________________________________________________________________________________________________________

Edit: Well it is not perfect but I do have a workaround.

@EntangledPear has been trying to help me through DMs. While they did not provide me a working solution, but some of the information gathered from our conversation helped me find something that works myself. Again, if anybody finds this looking for the same answer, it is not perfect but it will get you by.

The problem @EntangledPear's answer is that RPG Maker VX Ace seems to do all event commands at the beginning of the turn. This includes any force skill commands. It seems to ignore agility settings on either side and it seems to ignore the speed fix parameter for any force skills that you may do. Presumably because everything is done at the start of the turn. But here is what I did.

Capture.JPGCapture1.JPG

I set the warning on page 2. This can be done on page 1. I just happened to have dialogue on page 1 with the dragon stating that the battle is just a duel and the player winning is the toll for crossing her mountain pass.

The warning is set to activate only once

page three is what is under the hood of the move.

I ended up making it check for a variable value of 2. The reason for this is because it adds +1 alongside the warning thus triggering the event to use her ultimate at the beginning of the next turn. Setting the conditional branch to search for a variable = 2 allows the user heal up beforehand on the next turn. This make the event trigger at the beginning of the turn after that, but since it activates before everything else during that turn, it behaves like it activated the turn after the warning. It does not actually activate the next turn so this is not perfect but this works just as good.
RPG Maker VX Ace seems to do all event commands at the beginning of the turn.
I don't understand that conclusion. I made a troop event that has the condition of an enemy's HP being under a certain percentage, just like you show. In my test battle, that event ran immediately after the action that caused the damage concluded. It displayed before the next enemy started their action, clearly in the middle of a turn.

For that matter, I just made a test troop using the exact setup I provided to you and it works perfectly.

Are you sure that the enemy is meeting any costs (e.g. MP) to use the crush skill?

I did this, exactly as I suggested to you:
Screenshot 2023-04-16 234637.png
Screenshot 2023-04-16 234835.png

It worked exactly as expected. First turn I hit the slime, inflict damage, and the text shows up.

Second round the remaining slime uses Fire Breath on me.

If this doesn't work for you, either something is preventing your enemy from using the skill or perhaps you have a script installed that's altering something.
Which it is neither. I do not have any scripts other than the default ones and the only thing that I edited out of those is some vocab stuff.

And the boss should be able to use the attack.

The attack is set on type "E skill" and I added "E skill" to her list of attack types
Since you're just using the default scripts, I guess you could post a link to your demo so we can take a look at what's happening with your Roar skill. You've got no need to include any custom graphical assets. Just replace any of your custom graphics with default ones for that demo.

Original thread: https://forums.rpgmakerweb.com/threads/battle-events-are-triggering-back-to-back-when-i-do-not-want-them-to.156723/