How to stop events from respawning

There's probably a really simple solution to this that I'm missing but I can't find it. :/

Basically, I have a very simple event in one room where you find an item in the corner, pick it up, and it vanishes. Easy enough, right? Problem is, no matter what I do the same event respawns and plays out as if nothing happened every time you re-enter said room, even with it ending in the "erase event option". It's probably clear I'm not overly experienced with this, so any help or tips would be appreciated.
Instead of erase event just turn on a selfswitch on at the end of the event.
Then create a second page in the same event, but make the page condition (its on the left) "If Self Switch A is ON" or similar and leave the page blank (dont add any events on that page!)

That should make the event stop respawing if you reenter the map as erase event only erases it if youre on that map (like autorun events or similar)
Instead of erase event just turn on a selfswitch on at the end of the event.
Then create a second page in the same event, but make the page condition (its on the left) "If Self Switch A is ON" or similar and leave the page blank (dont add any events on that page!)

That should make the event stop respawing if you reenter the map as erase event only erases it if youre on that map (like autorun events or similar)


That did the trick! Thanks a lot!
Erase Event only works for the rest of the time you're on the map. As soon as the map reloads, the event reloads.

This can be useful for things you WANT to respawn (like monsters), but for things you only want to happen once, then be permanently gone (like your event, or auto cutscenes), you use a self switch (if it's only that event that will be affected) or a switch (if other events will be affected as well).
Instead of erase event just turn on a selfswitch on at the end of the event.
Then create a second page in the same event, but make the page condition (its on the left) "If Self Switch A is ON" or similar and leave the page blank (dont add any events on that page!)

That should make the event stop respawing if you reenter the map as erase event only erases it if youre on that map (like autorun events or similar)
Thanks. Been searching for this. To be fair, I'm a n00b at RPGM and have been learning how code in VNs can be applicable to other engines. So this makes more sense to me now.
@Village Mook @Bryy Miller
You're welcome!
As a fellow n00b I would recommend to try some playable VX Ace tutorials/VN tutorials(if there are any?), as can not only play while learning but also open the project file and look how it looks like in there^^
https://forums.rpgmakerweb.com/index.php?threads/ace-switches-demo-tutorial.14799/
This one is very short but explained very good about the basic functions, it helped me at the beginning.

You can look around this nice and helpful list for more tutorials for VX Ace: https://forums.rpgmakerweb.com/index.php?threads/a-list-of-tutorials-for-beginners.15135/

Just some recommendation from someone who also just started a s a n00b 👋
Good luck and have fun in learning more about the Makers and making games! 😂
Thank you!

I started at least the base of my new RPG project a few days ago. Need to redownload all of Yanfly's plugins. New SSD. Gonna transfer it to my external so I have it all when I get my new PC end of year.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-stop-events-from-respawning.90821/