Loading Events Before Map Rendering in RPG Maker MZ

Hello everyone,

I'm facing an issue with RPG Maker MZ where the map appears momentarily before the events are fully loaded. I need to find a way to ensure that events are initialized so that darkness or weather effects don't load with a delay: right now I can see the map for 1 second, and then the effect loads

I've tried creating plugins to modify the scene loading and event setup, but nothing has worked as expected. Does anyone have a solution or insight on how to force event initialization before the map display?

Any help would be greatly appreciated!

Thank you in advance!
The easy way would be when you're transferring into the map, you use the Fade Out event command; then you place an event on the map (the last one, so it has the highest ID) that's Autorun, has Fade In, then Erase Event.
Hello, thanks for your response!The problem is that I am trying to do the introduction, the character walks on a night map etc, so it is the first map of all, I am not transporting from any map yet 🙁
An event with Trigger: Parallel should start on frame 1, regardless of how you arrived on the map. Just remember to end it with Erase Event so it only runs once per visit to that map. 👋

An Autorun event should also start on frame 1 when starting a new game. However, you can't have 2 non-Parallel events running at the same time, so maybe your weather/darkness event is having to wait for a different event to finish.

Edit: also, the duration of Set Weather Effect is how long it takes to change to that weather. Set it to 1 for an instant transition. Same idea for Tint Screen, etc.
It worked!! thank you very much to both of you 😍
The problem is that I am trying to do the introduction, the character walks on a night map etc, so it is the first map of all, I am not transporting from any map yet 🙁
In case this is an issue again:

Use an empty / black map with an empty party for your starting position. Do all the setup you need (like fade out, add heroes to the party if needed, etc., and teleport to your first map afterwards and use a fade in there). You won't see a difference, but you can set up everything in advance.

Original thread: https://forums.rpgmakerweb.com/threads/loading-events-before-map-rendering-in-rpg-maker-mz.173688/