[RMMV] Erase an event completely / unlock door with key

Hello! =)

I am currently trying to piece my first RMMV game together and I have encountered a few problems, for which I could use some help.

1. I have a door in a dungeon which can be unlocked with a key.

It should be:

  • find the closed door "This door is locked".
  • Battle a boss and obtain the key item "Cave Key"
  • Open door via player touch.
It is:

  • find the closed door "This door is locked".
  • Battle a boss and obtain the key item "Cave Key"
  • The door disappears as soon as the item is in the inventory.
Whatever I try, the door just vanishes... I tried using a switch which flips on when I defeat the boss, but that didn't work either, this is my current attempt:

Spoiler: Door Event
Door 1.PNG Door 2.PNG



My second problem is how to erase an event completely!

My players have to battle an enemy to obtain a quest item, but when I leave the cave and come back again, the movable enemy with the item is there again and I could obtain it again. Here's the event page:

Spoiler
Bat.PNG

How can I avoid that event appearing again and again?

Thank you in advance for your help, I know these are most likely very basic questions, but I'm currently stuck on them ^^"
Since the events take the highest page whose condition has been met as the active one, no wonder your door vanishes once you obtain the key. If you want to do what you want to do, you'll need to set the first activation to player touch and use a conditional branch, which will, if player has the item, turn a self switch on or something.

"Erasing the event completely" is simple, turn on a self switch and set the latest page to that self switch.
Thank you for your help, @Poryg! =)

The complete event erase worked, thank you very much for that! =)

And I think the door incident is working, too... somehow @_@
Basically, it is working as it should, but I have a big door going over two tiles:

Spoiler
Double-door.PNG

So when I use the conditional branch like you suggested, only the half of the door which I "adress" disappears:

Spoiler
Double doors ingame.PNG

My first event page looks like the following, the second is empty except for the check at "self switch A". Both door thingies are almost the same, with the difference in the image and the upper is set to "above character":

Spoiler
Door 3.PNG

What am I doing wrong here? @_@

Thank you again! =)
If you're having doors over two tiles and not just one, then use a switch instead of self switch.
Thanks again, @Poryg =) It's still not working as it should but I blame that on my lack of sleep - I'll try again tomorrow! 😉

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-erase-an-event-completely-unlock-door-with-key.86578/