Events interacting with events?

Hi. On the map screen I'm running an event (EV002) of a blue squishy monster set to approach the player character and kill the player if he touches him.

On the map there is also an event that is a hole in the ground (EV011) that opens when a switch is activated by the player character.

I want it so that when the blue squishy monster passes over the hole it disappears (dies) but I'm not sure how to make it happen.

In other words the blue monster goes onto the tile with the hole, player character pulls the switch on the map, enemy disappears.

There are multiple blue squishy monsters and multiple holes and switches to activate them so I can't just set a trigger to delete the monster because the hole event doesn't know which monster is passing it.

I hope that makes sense. TIA.
here is a picture in case my description didn't make sense... . The switches for the holes are hidden in the wells...
Double-post notice: @Then00bdude

"How do I ..." questions should go into the support forum for whatever version of RPG Maker you are using. As you haven't stated that in your thread title, tags, posts or on your profile, I'm not sure where to put it. Please advise what engine you are using.

There is no trigger for events interacting with other events. In this case I would use a region tile and paint all of those "holes" with the same region id. Then I'd add another event that is set to parallel process and has its page condition set to the same switch that makes all of the holes appear. In the event commands, I would have something like the following:

Code:
Wait 5 frames 
Get Location Info (for your first monster event) - Region ID
IF variable containing region id = region id you painted with
  do whatever you want to the first monster event
End
Get Location Info (for your second monster event) - Region ID
... do the same here, and for the remaining monster events

Now, your hole events will need to have THROUGH turned on, because events will not move onto tiles occupied by other events unless on of them is THROUGH - even if the events have different priorities.

Original thread: https://forums.rpgmakerweb.com/threads/events-interacting-with-events.133759/