Let Events/NPCs move without being on the map

Hello!

Making a Game with Time and day/night cycle, also with Weekdays, Month and years.
I'm now at a point, where I can save the Events Location and load them upon entering the map. But thats because I use a Plugin to do so and stop the day timer within buildings. But I want to activate it again, without the NPCs resetting/or in this case, "loading" their last position bevore leaving the map.

ex.
NPC 1 Moves to 25/25(Moving To Script) its 3 steps left before starting a new Event Page(I did it mostly in Common Events paired with the Event Pages for every single day, well thats what I plan to do, got it for 1 NPC for the first day.) Variable and Switch/Selfswitch. And resetting switches when the day ends.

When I leave the Map now, the NPCs stop where they are and dont move on, without that Plugin, they would reset if they didnt reach the location in time and start all over.

But I want them to actively move and activate there proper events for the day.
Is this possible? Or is that a limitation RPG Maker can't overcome?

I have no clue how to do it and can't seem to find a good plugin for that. :/


I can Upload my Project, if someone want to see the Events and Common Events.
Any help is appreciated 🙂
While it's theoretically possible, it's probably not feasible without a plugin. When you leave a map, all of the events are destroyed. When you enter a map, all of the events for that map ate created. The base engine doesn't allow for tracking and manipulating events outside of their map. You would have to manually calculate where all of the events should be when a map is entered and then adjust the move routes so that they can pick up from there. I wouldn't want to try this without a plugin handling it for me.
Hmm, thought so. And I cant finde one who does just this. Guess I have to connect all maps into one and when I enter a Building/Dungeon, the timer stops..
No, that is a bad idea.
There is a reason why only one map and its event are processed, and that is hardware limitations. Making bigger maps with more events will create lag on any but the most power full computers.

And you don't need to calculate the NPC movement when you're outside the map, you only need to pretend anything happened.
One way to do that is to give all events different event pages based on a time variable and move them upon entering the map to the coordinates they should have based on current time.
There is no need to have them moved there while the player is outside the map, just do that on map enter and don't fadein until all events are relocated.
You didn't mention what plugin you are using. Mine will let you change the locations of events while you are on a different map. You just won't see the events move, because that map isn't loaded.
Im using this.

Well, the thing is. Every NPC has a different day, 7 times a week and special interaction, depends on weather and social status.
With move routes and switches for each different day controlled through common events. And the Event itself has multiple conditional branches and switches, which checks, which day it is, and which weather. And the weather is controlled by random variables which changes every day(But if it rains for that day, it will do so till the end of the day). That is controlled by the event itself, together with the common event for the move route for different conditionals.

Making an event for each map, for all of the NPCs would be a bit too much and would probably cause a lot of problems. I wont have dozens of maps or NPCs, max a number ob 20-30 and a large map, that would be the town, some small interiors and some outside arenas.

Its only the NPCs which needs to be active all the time, otherwise this will be gamebreaking and I have to pause the timer everytime, the player is not in the town. And I would need to remove time-based events within interiors. So no "Meet NPC X in his House".
Its only the NPCs which needs to be active all the time, otherwise this will be gamebreaking
Forget that - but it would NOT be gamebreaking.

You cannot have all NPC-events active all time over your project - that would require more processing time than most computers have. And putting all other maps into a single map will NOT solve that inactivity for a lot of reasons (including that the engines anti-lag-functions will stop events outside player range on larger maps, so they won't move correctly there either).

But what you need to understand is that it is completely unneccessary to have all events move all the time - you only need to pretend to the player that the events he doesn't see have been moving around regularly. And that can be done by pure eventing (although plugins will make it easier).

That will require you to pre-calculate or otherwise determine where an event should be when the player enters the map at a certain time (which might make them jumpy if the player leaves and returns over such a break).
And if you already have the routes programmed the other way, then sorry, that will need to be redone and you'll have wasted some worktime.
But you need to do it this way around, you can't do it like you planned to do.

Original thread: https://forums.rpgmakerweb.com/threads/let-events-npcs-move-without-being-on-the-map.95468/