Wait event across different maps?

So,I am creating a system where the play can scavenge through a chest to get items, and after the play scavenges through it the chest is supposed to be unsearchable until a specified amount of time goes down, but the problem is the player is allowed to leave the map that has the chest while it is unsearchable,so the timer gets stopped. So,basically I need a way for the chest to be searchable again after a certain amount of time goes down while still being able to work across different maps. (BTW: there are multiple of that chest in that map and in other maps.) 
Other maps and their events don't exist while the player is on one map.


So you need to use variables or switches to prepare any reaction on other maps.


That said, search for Shaz' multiple timer script/plugin, that would be the best solution for your specific case.
I think it might be possible using a common event for that provlem. I've evented an ingame pseudo real-time clock system with common events so it should be possible. But it's not a good idea if you plan on making a lot of these chests since you'd need atleast one variable and a switch. It's just another possibility if you don't want to use scripts.
You would need one common event for each chest.


My multiple timers script is designed exactly for this kind of purpose.
I checked out the multiple timers script,but it looks like it's for MV not for VX ace, and also I am going to have maybe around 40 maps each with a couple of the chests,so


a common event would definitely not work.
I would recommend the Self Data Suite, self variables in particular.


Create a common event that acts as a basic clock, always counting.


When a chest is active, set a self variable to be equal to the current time created by your common event clock.


Switch over to your blank page with a self switch as usual,  but make it a parallel process.


Have the parallel process check to see if X amount of time has passed before turning the self switch back off.
There is a multi-timer script for Ace as well.  You just looked in the wrong area.


Unfortunately the thread in the Ace scripts forum has lost its first page.  And I also don't see it in my pastebin.  I'll see if I can track it down today and post it for you.  

Original thread: https://forums.rpgmakerweb.com/threads/wait-event-across-different-maps.66015/