I have a common event that runs in parallel but when I change the map the common event starts over from the beginning. How can I stop this from happening?
Common events reset when changing maps?
RPG Maker MV SupportWhat's you common event supposed to do? I normally use mine for repetitive common tasks. If a character clicks on a bed they do not own and loot tables for example. Things that are static and not dynamic. Can you post a little more info please.
I'm using it for healing over time outside of combat. I tried using states to heal but I kept getting errors and eventually gave up and used common events. It works fine but once i change maps the event resets and you heal more.
I'm guessing that you can't stop this behavior. I'm not sure exactly what's going on under the hood but I do know that if you reference any map events within a Common Event, it's just using the IDs of the events you chose which will be different for every map and might not exist at all on some maps. Because of this and probably other factors as well, the ramifications of keeping a Common Event running without interruption between maps could easily cause a ton of problems even if they were somehow paused and then resumed where they left off.
If you show us your Common Event, maybe we can help you do this a different way that works better with the engine.
If you show us your Common Event, maybe we can help you do this a different way that works better with the engine.
I'm not sure if I understand you correctly, but you need to turn the switch that activates the common event off at one point. If you only want to heal the party for a set amount of time/rounds, you would be better off to use a variable that counts how often the party has already been healed. That way, even when the player changes maps while the common event is active, it won't start from the beginning again.
Some kind of deviation from this screenshot might work for you. Though, in this example I forgot to reset the counter.
Some kind of deviation from this screenshot might work for you. Though, in this example I forgot to reset the counter.
Original thread: https://forums.rpgmakerweb.com/threads/common-events-reset-when-changing-maps.90492/