Missing cutscenes (when multiple events should have triggered on the same frame?)

I have an issue where events on Player Touch / Below Characters sometimes fail to trigger because an enemy (a moving event on Event Touch / Same as Characters) happens to touch the party at the same moment that I step on the other event. This is a problem, because it means cutscenes that should play don't play.

Are there any suggestions on how to fix this? I can think of two end results that would be acceptable:

  • Prioritize the Player Touch event that you just stepped on – the enemy thus won't attack until after the cutscene plays (and may even move away during the cutscene)
  • Queue up the Player Touch event – you get into a battle, and the cutscene automatically plays afterwards.

The Player Touch event is also set to Through so that enemies can step on it. I don't want to sacrifice that, but I'm pretty sure it wouldn't help anyway – in general, events don't need to be able to move onto a tile to be able to touch you when you're on that tile.

Should I show the actual events? I'm not sure how much it would help, but I can easily add screenshots.
You should try this plugin. It's supposed to fix that problem, but I haven't been able to test it thoroughly.

I use YEP_RegionRestrictions for my moving enemies. This allows me to designate a region number that blocks any event. So, if I have an event that needs to trigger but there's a chance that a roaming enemy will interfere, I place the blocking region in the way and bobs your uncle all clear.
I use YEP_RegionRestrictions for my moving enemies. This allows me to designate a region number that blocks any event. So, if I have an event that needs to trigger but there's a chance that a roaming enemy will interfere, I place the blocking region in the way and bobs your uncle all clear.
Thanks, but that doesn't work for me – I want the enemy to be able to enter that space, but I also want the player to trigger an event when they enter that space.

(Side note: I'm already using Galv_MoveRouteExtras for a similar mechanic elsewhere.)

You should try this plugin. It's supposed to fix that problem, but I haven't been able to test it thoroughly.

That looks like it could be exactly what I need. I'll give it a try, thanks!

And it looks like that person has tons of plugins, so maybe I'll take a closer look at their other plugins later too…
Quite frankly, no player finds it fun to get a cutscene and get attacked immediately afterwards. I'd suggest heavily making it so the scenes occur in spaces enemies can't enter.

Also if you let them enter the space they can be in the way of your cutscene and block it.
Also if you let them enter the space they can be in the way of your cutscene and block it.
This is true, but… then you just have to fight the enemy first? I don't see the issue.

Quite frankly, no player finds it fun to get a cutscene and get attacked immediately afterwards. I'd suggest heavily making it so the scenes occur in spaces enemies can't enter.
You do have a point. The way things work right now (regardless of the mentioned issue in the opening post) is a bit strange in that respect. You can totally end up getting attacked when the cutscene ends… but the enemies keep moving around while the cutscene is playing, so you could also just wait for them to move away before dismissing the dialogue. I haven't really thought of what, if anything, I should do about this.
No you can't. What if they wander INTO the cutscene and block it while its in progress? The player doesn't know what tiles trigger scenes so how are they to realistically do that?
No you can't.
No I can't what?

What if they wander INTO the cutscene and block it while its in progress?
I don't quite understand what you're asking here. In particular, I don't know whether "they" refers to the player or the enemy.

If it's the enemy. then it's impossible. They can't block it while it's in progress, because the player's already on that tile.

If it's the player, then it's also impossible. They're already on the tile that triggers it.

But I might be misunderstanding some other part of the sentence as well…

The player doesn't know what tiles trigger scenes so how are they to realistically do that?
How are they to realistically do what, exactly? Again, I don't understand what you're asking here. I don't understand what you're thinking of that could require the player to know which tiles trigger scenes.
No I can't what?

I don't quite understand what you're asking here. In particular, I don't know whether "they" refers to the player or the enemy.

If it's the enemy. then it's impossible. They can't block it while it's in progress, because the player's already on that tile.

If it's the player, then it's also impossible. They're already on the tile that triggers it.

But I might be misunderstanding some other part of the sentence as well…


How are they to realistically do what, exactly? Again, I don't understand what you're asking here. I don't understand what you're thinking of that could require the player to know which tiles trigger scenes.
I think what bgillisp is saying is that if enemies are able to wander randomly around the location your scene takes place in, you can't guarantee that characters will be able to move around in accordance with their stage directions, because they might try to move in a particular direction and run into an enemy that's wandered into their path.

I believe the advice being given was to ensure that your cutscenes take place in areas that enemies can't wander in.
Trihan gets it. If you have a cutscene with players or events *moving* and the enemy is also moving that enemy can block the cutscene. And if you have wait til completion checked your game is now frozen. And if you don't check it your events are not in the right position. Now if you have no player events moving then non-issue on that part, but that still makes the 2nd point (below a problem).

For the other what I was saying is you said why not take out the enemy before starting the cutscene? That implies the player somehow knows where the cutscene starts. You going to tell them? Mark them all with glowing tiles? If not they will not know and CANNOT actually take out all enemies before starting a cutscene as they can't plan for it as they (the player) don't know what tile starts the scene.
I think what bgillisp is saying is that if enemies are able to wander randomly around the location your scene takes place in, you can't guarantee that characters will be able to move around in accordance with their stage directions, because they might try to move in a particular direction and run into an enemy that's wandered into their path.
Ah yes… that's not an issue in most of the particular cases where the issue arises, as the cutscene is pure dialogue with no move routes.

I believe the advice being given was to ensure that your cutscenes take place in areas that enemies can't wander in.
This definitely makes sense if you're using move routes (especially if you want the move route to wait until completion). That isn't the case in the cutscenes where I've noticed the issue. I think some of them are also not cutscenes at all (the example from the plugin I was linked shows a stairway, which would definitely be another similar issue).

For the other what I was saying is you said why not take out the enemy before starting the cutscene? That implies the player somehow knows where the cutscene starts. You going to tell them? Mark them all with glowing tiles? If not they will not know and CANNOT actually take out all enemies before starting a cutscene as they can't plan for it as they (the player) don't know what tile starts the scene.
It seems you misunderstood what I was saying as well. I don't mean that the player should plan to take out the enemy before starting the cutscenes – obviously they don't know where the cutscenes will trigger. I meant that, if the enemy is standing on the tile that triggers a cutscene, and the player wants to move that way, obviously they have to take out the enemy first (or wait for it to move away). The cutscene intentionally triggers at a choke point so you can't just walk around it.

I guess you were actually responding to just the first half of my earlier post? Because nothing that you've said covers the second half (and that's probably part of why I was confused – without a quote box, I at first thought you were replying to the second half).

To reiterate what I said before, with a bit more detail: yes, the enemy can block the cutscene by stepping on it. That's not an issue, because you can just fight the enemy or wait for it to get out of the way. And you don't need to know there's a cutscene there for that, because it's also a choke point – if you want to get to the area behind it, you have to step on that tile.
So, I tried out the NewRPG plugin that was recommended, and it looks like it works. I tried in one place where the enemy event was on Approach, and I was unable to get into the state where I landed on the cutscene trigger without the cutscene triggering. I only tried a few times, though, and it wasn't exactly easy to trigger the issue before, but… I think this is probably solved.

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/missing-cutscenes-when-multiple-events-should-have-triggered-on-the-same-frame.180883/