How to keep specific events in engine memory.

I have a set piece of twelve character events, four per three squares, circling around what is meant to be a superboss. I have a problem where the game's attempts at optimization leads to them going out of sync. Is there a plugin that allows specified events to remain in memory so they don't desync? Or is there some other shenanigans- like editing the main files- to prevent this?
Image provided for further context.


1648760356329.png
Not sure if this is what you're seeing, but autonomous move routes are suspended for off-screen events. However, move routes set via the Set Move Route command should process regardless of their location on the map.
Yes, that is what I'm seeing.
So, one solution is to have these events set as Parallel Process with a move route?
You could set a repeating move route for each of those events once, e.g. when the player enters the map, or when the events appear. E.g. an Autorun (or Parallel) event like this:

◆Comment:Set move routes for all those events ◆Set Movement Route:EV002 (Repeat) : :◇Move Down : :◇Move Left : :◇Move Right : :◇Move Up ◆Set Movement Route:EV003 (Repeat) : :◇Move Down : :◇Move Left : :◇Move Right : :◇Move Up ◆Comment:Erase this event until the player revisits this map ◆Erase Event
I'm now facing an issue where the event, with a move route in parallel process, simply goes one direction without changing.
1648769906777.png

1648769990206.png
In your screenshot the Parallel event never stops: it reassigns the move route every frame, meaning the event only ever takes the first step of that route. Also, this is a kind of "background cutscene", so it's good practice to separate the controller (i.e. the event that applies the move routes) from the targets (fireballs).

I suggest that you:
  1. Make a new event with Autorun or Parallel trigger.
  2. Have that event assign the move routes to each of the little fireballs.
  3. Include an Erase Event command at the end of that event.
Note that the Set Movement Route command has a dropdown that lets you choose which event to move: it doesn't always have to be "This Event".

The Erase Event command makes an event disappear until the player leaves and returns to the map. This is important for Autorun/Parallel events that you only want to run once per visit to a map.

For efficiency, remember to set the triggers of the fireball events back to whatever they were before, and remove the move route command. If they're just decorative events, then consider Action Button or Player Touch trigger.

Hopefully that's a bit clearer~ 👋

Edit: I also noticed you have "Skip if Cannot Move" set for the move route. That will allow the player to redirect the fireballs by standing in their path (they'll skip the blocked moves and turn early). Not sure what you want to happen in that situation.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-keep-specific-events-in-engine-memory.146305/