MV (SOLVED!)Inconsistent loading with Galv's layer graphics

Hello! I am using Galv's Layer Graphics at the moment to set a glow layer. It works, but very inconsistently. What I am doing is setting an event at the doorway of every relevant map using a night time switch.
I did it like this:
Screen Shot 2023-06-04 at 22.41.04.png

I have two questions:

1. why does the layer load only when i leave and reenter the map once? This means that the code is correct but something else went wrong..
(Edit: this part is solved, I realised if I put the plugin command before the Transfer Player it works just fine, guess it just needs time to load)

2. How can I ensure that this setting loads whenever I boot up the map from save? I tried Autorun and Parallel events with the nighttime switch but they didn't work for some reason

Would appreciate any guidance, thank you in advance!
There are a lot of things wrong with your description, that makes it difficult to help you.

first, please give a better description of what actually happens instead of "inconsistent".

second, teleporting on an event should never trigger it - for a lot of reasons a teleport does not count as a move, and only one event can be triggered per one move.

third, the correct way to do this should be with a parallel process (single event for all entries together), and if that doesn't work yo made a mistake with that. Most likely you forgot the erase event command and/or a bit more of the structure.
It would help if you show the try with parallel process that you did, with every event page of it and then ask for help correcting its mistakes.
There are a lot of things wrong with your description, that makes it difficult to help you.

first, please give a better description of what actually happens instead of "inconsistent".

second, teleporting on an event should never trigger it - for a lot of reasons a teleport does not count as a move, and only one event can be triggered per one move.

third, the correct way to do this should be with a parallel process (single event for all entries together), and if that doesn't work yo made a mistake with that. Most likely you forgot the erase event command and/or a bit more of the structure.
It would help if you show the try with parallel process that you did, with every event page of it and then ask for help correcting its mistakes.
Hello, thank you for your reply! I solved the part on the loading so it's alright, I apologise for my poor description though 🙁 I did forget erase event, and I think it works now? Do I just put this event in every map or is there a more intuitive way to do it?

Screen Shot 2023-06-04 at 23.19.09.png


Edit: the parallel event with the layer graphic plugin (the second line of code) doesn't work from save 🙁 The other plugin I'm using seems alright

Screen Shot 2023-06-04 at 23.25.40.png
Entering a map loads it from its original files, but when saving a copy of the map is saved into the savefile at its current state.
That state should include any pictures or layers added if the plugns used are programmed for this, but it seems one of your plugins is not.

You can try to replace the erase event command with a wait(30) command and see if that works better - it is the worse solution of the two, but it has a better chance for some plugins than others.
Entering a map loads it from its original files, but when saving a copy of the map is saved into the savefile at its current state.
That state should include any pictures or layers added if the plugns used are programmed for this, but it seems one of your plugins is not.

You can try to replace the erase event command with a wait(30) command and see if that works better - it is the worse solution of the two, but it has a better chance for some plugins than others.
After adding the parallax change for night time, everything seems to be working fine! thank you so much for your help and I'll be closing the thread 🙂

Original thread: https://forums.rpgmakerweb.com/threads/solved-inconsistent-loading-with-galvs-layer-graphics.158058/