When a player touches an event, other events that have event touch trigger don't work (RPG Maker VX ACE)

Hello!
I made a chasing event which the player has to evade traps that stops them, if the player stands over the event/trap that stops them, then the player has to press Z to release themselve.
The thing is that when the enemy is going to catch the player and the player is in the event that stops them out, the enemy doesn't trigger the game over unless the player is already released from the trap.

And that breaks the player's immersion, I would like to know if anybody knows a way to make the enemy triggers the game over even if the player is in the trap, I'm not very good at programming and I would like some help with this.

Over Here I'm going to leave what I made to create the chasing event.

1. Make a variable that is equal to 4. This is the one that is going to determinate how many times the player is going to press Z. This Event is set to parallel process. I erased the event in this occasion.
Spoiler
1666654926139.png

2. Create the enemy. The enemy is going to get close to the player and once the player has contact with the enemy is going to trigger the game over.
Spoiler
1666655091771.png

3. Create the trap. Once the player is on this event, a switch is going to be ON and this switch activates a common event.
Spoiler
1666655241622.png

4. The common event. This is going to prevent the player moving until the variable "Press Z" is equal to 0.
When the player presses the z button the variable "Press Z" decreases 1.
When the Variable "Press Z" is equal to 0, the switch "trapped" is Off.
Spoiler
1666655309613.png


And that's it. The only problem I have is that the enemy doesn't triggers the game over when the character is on the trap, I would appreciate any help with this problem.
Spoiler
1666658955561.png

Sorry for Any misspelling, English is not my first language :,D
i would like to see if i can help.. can you please make a project with those settings and post it here so i can see how it works and how it can be fixed?
i would like to see if i can help.. can you please make a project with those settings and post it here so i can see how it works and how it can be fixed?
Sure! There you have it!
i was trying hours to figure something out, but nothing..
i'm sorry.. But don't worry! maybe someone else can bring ideas. I'll be watching for sure!

One alternative title to the issue is "when a player touches an event, other events that have event touch trigger don't work"..
i was trying hours to figure something out, but nothing..
i'm sorry.. But don't worry! maybe someone else can bring ideas. I'll be watching for sure!

One alternative title to the issue is "when a player touches an event, other events that have event touch trigger don't work"..
Thank you so much for trying and also for giving that idea for the title, I'm going to change it!
I think I know where the problem might be. Your common event is set to autorun, and while such event runs, nothing else can happen. That's why the event touch event doesn't do anything until the common event stops (you press Z four times and the switch turns off). I tried setting the common event to parallel process and I think it works then :LZSwink:
I think I know where the problem might be. Your common event is set to autorun, and while such event runs, nothing else can happen. That's why the event touch event doesn't do anything until the common event stops (you press Z four times and the switch turns off). I tried setting the common event to parallel process and I think it works then :LZSwink:
The problem with setting the common event to parallel process is that the player can move outside the trap without pressing the Z button, and I would like the player doesn't move until they press the Z button 4 times.
Oh, I see, I didn't test that. Let me have a look again.

Edited to add:
I came up with a workaround: when the character enters the trap, after switch 1 is turned on, change the tileset to one in which the tile that the trap is on is set to unpassable (basically copy the tileset, only set that one to X). Set the common event to parallel process and in it, when switch 1 is turned off, change the tileset back. I tested it and the event touch event sets off game over, and at the same time the player can't move when they're in the trap. (Maybe you will need to turn self switch A in the trap event off somewhere, but it seems to be working repeatedly anyway, so I don't know. -> sorry, this is something that can be deleted from the second page of the trap event, I forgot that the tileset change happens on the first page. And you can also switch the second page back to action button :LZScheeze: and I will stop editing this post.)

Have a look at it and let me know if it works for you.
Wow.. i would never had guessed that.. Nice work EntangledPear!
Wow.. i would never had guessed that.. Nice work EntangledPear!

You know, I've had the problem of not wanting the actors to move while something is happening several times and always just resorted to autorun in the end. Gari's problem prompted me to find a solution that I could have used in my developing before :LZScheeze: So thanks, Gari (all this assuming that it really works for you and I'm not celebrating prematurely).
You know, I've had the problem of not wanting the actors to move while something is happening several times and always just resorted to autorun in the end. Gari's problem prompted me to find a solution that I could have used in my developing before :LZScheeze: So thanks, Gari (all this assuming that it really works for you and I'm not celebrating prematurely).
Thank you so much EntangledPear!!! It works perfectly for me!!! I really appreciate your help!!!THANKS!!:LZSjoy:
Inspired by EntangledPear, i also found a alternative solution with the help of one small script by Shiggy.
just in case it will also help EntangledPear with his/her future/current project, but also for Gari in case he needs it...

What the small script does, is it has 1 switch that will enable/disable the player's movement.
by that when the player enters the trap, the switch will be on and the player wont move unless of course, they press Z (as Gary set it) Then the switch will be off and player will be able to move again. Also, the chaser will be able to touch the player even they are on the trap, just normally as needed!

sorry for the mediafire link, it won't let me upload here for some reason..
Chasing Event rar
That's super cool, TheRamenGirl! Script copied, switch assigned :LZScheeze:
Again, you did all the job.. i wouldn't have any ideas without your work.. so thanks again! See ya guys!
Thank you both for your help, you gave me good solutions
Thank you so much!!

Original thread: https://forums.rpgmakerweb.com/threads/when-a-player-touches-an-event-other-events-that-have-event-touch-trigger-dont-work-rpg-maker-vx-ace.152218/