MZ Creating an event map system

I'm trying to have very lengthy cutscenes neatly stored in one map, and then called when needed on another. The reason I want this is for clarity. The event map deals with the cutscene code, while the actual event that's calling the cutscene only deals with the variables, switches, conditional branches, conditions etc that will decide whether cutscene A, B, or C is gonna be played. I can't afford to have the massive code for all three cutscenes be in the same event.

The closest thing to what I'm looking for is common events, except I already use common events to store events I'm gonna call several times, and there's no way to separate the common event list into folders or subfolders for clarity, so the game will quickly become an absolute mess if I pour every single event and cutscene in there.

So is there a way to call an event with a simple line, the same way common events do it, except instad of being stored in the common events page, it's stored on a dedicated map ? And if so, what's the script or plugin I'm looking for ?
by default, only one map is loaded in memory at any given time.

the closes to your description would be a copy/clone event plugin that can copy an event from another map to the current map, although that is usually used for copying NPCs or harvest resources or similar.

if the cutscene is really too complex to be handled on your playing map, then the solution is usually to create one map for each cutscene and transfer the player to that map for that cutscene (easy by copying the entire map before creating the cutscene.

but calling a complex event on a different map? not really possible in the regular engine, a plugin for that would have to rewrite a good part of the code.
So I could use the map menu to store events in the form of cloned maps ? So some games would have dozens of different versions of the same map, to handle every possible event (or player progression stage) within it ? Is there a downside to doing it that way ?
The obvious downside is that if you need to change the map, you need to make the change in 10 places (or however many copies of the map you have).
So I could use the map menu to store events in the form of cloned maps ? So some games would have dozens of different versions of the same map,
there is no perfect solution, it always depends on the specific case.

In some cases a single map with dozens or even hundreds of specific events is the way to go, in other cases people only store small events on the main map and have a few dedicated maps for a cutscene each.

it depends on how many moving events or changes are in a cutscene - you can't give a general "fit all" solution.

If you describe one cutscene in detail, we can give specific advice whether most people would do that as an extra map or include the events in the general map.

That said, your original post
I can't afford to have the massive code for all three cutscenes be in the same event.
has raises a number of red flags for me.
1) each cutscene should be controlled by a single controlling event, and no event should ever hold more than one cutscene unless you're very experienced and know exactly what you're doing.
2) the controlling event should be responsible for controlling and moving all other events of a cutscene (which should be empty placeholders with only a sprite but no content/commands)
3) a map can contain a lot of events without any problem - why do you think you'll have to place multiple cutscenes into a single event?
Here's what I was thinking of doing ; either a week or seasons system, so if I have a given NPC, its event pages are most likely gonna be used for the different days of the week, controlling where that character is and what the different dialogue options are depending on the day (which also means a single interaction with that specific character could lead to several different cutscenes, depending on the current game state).

Now within each weekday page, there would be if statements related to a relationship system (similar to stardew valley), where if relationship 1 ; basic dialogue, if 2 ; another dialogue, maybe cutscene A, if 3 ; another dialogue, maybe cutscene B, etc. These cutscenes would often happen on a map the character triggering them isn't currently in. Talk to John Doe in his shop, trigger a cutscene with him near some lake. I'm trying to figure out the simplest ways to build that.

These cutscenes would almost never involve more than 2 moving events, maybe 3 or 4 max, nor any overly complicated stuff. Some move commands, plenty of dialogue. They would happen on a single map (although rarely the map that initiated them)

Knowing a given NPC might lead to 10+ cutscenes on their own, i'm trying to have the correct starting method, because I know if I start wrong I'd have to scrap everything halfway through anyway
because I know if I start wrong I'd have to scrap everything halfway through anyway
that almost always happens anyway due to the learning curve when you learn to better use the engine.
You might want to follow the link to the "starting point" tutorial in my signature - it was written one or two decades ago for VXAce but is covering basics that are absolutely unchanged since then.

As for your idea of a time controlled system, I would handle it entirely differently;
you'll need one controlling event that checks and controls the time specific to a map, and copies one of different placeholder NPC event to the required place on the playing map.
That way, you can have multiple events for the same NPC depending on the time, allowing you to use all event pages for that specific time slot.
The only special requirement is that the plugin you use for event copying can also erase the events it created, so that you can remove an NPC to replace it with a different one when the time advances.

as for the cutscenes, if they can happen in the current map just have them handled by the NPC event - you now have enough event pages on each time slot to allow that.
If the event happens elsewhere, make the player invisible and transfer him to that map for the cutscene, or use a switch to trigger the scene later.
Yeah guess I'll do some reading.

How would you handle starting the cutscene after transferring the player ?

I'm doing some tests with a cutscene event that's empty on page one, and then runs a cutscene on parallel on page 2 if the "relationship with NPC" variable is >1, and it does start upon transferring

Seems to work alright for this specific case, but it probably won't when two different cutscenes checking two different relationship variables will be trying to trigger on the same map. I might get transferred by NPC 2 only for the cutscene for NPC 1 to trigger, and I'm not sure how to pinpoint the exact cutscene I want to start before transferring

Original thread: https://forums.rpgmakerweb.com/threads/creating-an-event-map-system.180483/