Active Events

Is there a script where an event continues in the background, even when the player leaves the map?


An example would be a player cooks food that takes 10 minutes in the kitchen. The player can leave the kitchen map even with the 10 minutes going down. The player can return in 6 minutes into the kitchen with 4 minutes left.

If i am not specific enough, please ask questions!


EDIT: I forgot to mention this but I want to be able to have more then one of these types of events. So using a timer wouldn't be efficient.
That isn't done by scripts, you'll use common events from the database for that.


But otherwise no, the entire map ceases to exist when the player leaves it and that includes events.


But there are event timer scripts that store time in a way that it can be checked after the player returns - you usually don't need the cooking to finish when you're on another map, you only need to find it finished after returning.

Original thread: https://forums.rpgmakerweb.com/threads/active-events.60297/