is there a way to make switches reset?

trying to make it when you open the chest and leave you can open the chest again.
Well actually,

What you can do in two events is this.

Move the Character to make the chest open
Wait until moved
Wait 1.0 seconds
Display a message
Add the item
Then, make a switch to the next page.

In an exit event,
Just turn that switch off after teleporting!
trying to make it when you open the chest and leave you can open the chest again.
Do you want this behaviour for all chests or just a specific one?

For one: Just set the switch to OFF when you teleport out of the dungeon.

For all: Create a Common Event and add "Control Switch OFF" for all your chests. Just a long list of all the chests you want to reload eventually.
Call this Common Event every time you want chests to refill (like on every teleport out from a room with a chest in it, every time you leave the dungeon, or whenever you want them to reset).
Thank you both for explaining it.
Don't use Switches, you'll have a lot of trouble, when you use event repositioning and "Erase Event" these commands are undone when you leave the map.

Make two chests, one in a hidden place on the already open map and another closed one that has the item or money:
1736457304030.png


Then, just memorize the position of the accessible chest with two variables X and Y and use this value to call the hidden chest that will represent it empty and delete the chest itself from the map.

Empty chest placed at position 0x0 on the map:
1736457479408.png


Accessible chest, can be done in any way you prefer the animation, but the repositioning of the event must be done at the end:
1736457505650.png


You can even animate the chest, showing it being opened.
Set a slower frequency so the player can actually notice the animation:
1736457790398.png


It will look like this:
1736457869719.png
Thank you as well for a different way and the photos.

I just tested it out and worked flawlessly and I you even made comments how everything worked to where I understand what's going as well-- Thank you!
Yes!
I just tested it out and worked flawlessly and I you even made comments how everything worked to where I understand what's going as well
I've seen many systems made with events through the most unusual commands. I believe that the Engine's own limitations end up leading us to this type of knowledge.

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/is-there-a-way-to-make-switches-reset.174565/