Battle Events and Action Sequences

Hey guys,

I'm running into a few issues with battle events and action sequences.
  1. I have a pre-battle cutscene inspired by Yanfly's Tips & Tricks (this one). I set up the battle event just like in the tutorial, but instead of doing the entry cutscene right away, the game does the normal battle entry first, making it really jarring.
    test-2.gif
  2. There are several instances where a battle event (one that executes when an enemy's HP reaches a certain threshold) interrupts an action sequence when it deals damage. Does anyone know how to get around it?
if you copy the entire code and failed to work, so far in the gif you show,
it has only 2 actors, not 4.

not to mention 1 enemy instead of 3/4 in the video.
if you have adjust that, we need to know the code you use than to help you
in order to make it the way you want it to work.
instead of doing the entry cutscene right away, the game does the normal battle entry first
Nothing can stop the normal battle entry - by definition, anything you do during battle (even turn 0) is after battle starts.

That's why in Yanfly's Tip & Trick the screen is tinted to black before the battle processing event command is run, so it's black and you don't actually see the beginning of battle. Did you follow that step?

There are several instances where a battle event (one that executes when an enemy's HP reaches a certain threshold) interrupts an action sequence when it deals damage. Does anyone know how to get around it?
Not that I can think of.

You could have those troop events turn a switch on and inside any action sequences that do stuff after dealing damage, you do a conditional to check for that switch being on and finishing the sequence early if it is. But I can't think of any way to delay the troop event.
That's why in Yanfly's Tip & Trick the screen is tinted to black before the battle processing event command is run, so it's black and you don't actually see the beginning of battle. Did you follow that step?
Oh, I missed that part. I'll give it a shot. Btw, here's the code for my entry sequence:
Code:
tint screen: -255, -255, -255, 0, 1

hide battle hud

zoom: 150%, 1

camera focus: enemy 0, center

move actor 0: backward, 1000, 1

move actor 1: backward, 1000, 1

wait for movement

tint screen: normal, 30

zoom: 250%, 110

wait for zoom

flash screen: white, 20

zoom: 200%, 15

wait for zoom

zoom: 250%, 15

wait for zoom

flash screen: white, 20

zoom: 200%, 15

wait for zoom

zoom: 250%, 15

wait for zoom

flash screen: white, 20

zoom: 200%, 15

wait for zoom

camera screen: center, 15

reset zoom: 15

wait for zoom

move actor 0: return, 60

move actor 1: return, 60

wait for movement

show battle hud

</Setup Action>



<Whole Action>

</Whole Action>



<Target Action>

</Target Action>



<Finish Action>

</Finish Action>

Original thread: https://forums.rpgmakerweb.com/threads/battle-events-and-action-sequences.169969/