Hello hello! I'm having an issue with weather effects in my game. Following other tutorials on the topic, I have a weather effect set to run once the switch "Day 2" is on (the game works on a week-based story structure), and this switch is on the outside map(s). Each door has a command to turn off the weather effect. The problem is that this just... isn't working. The rain continues once the character moves inside. This is extra strange because I have a weather effect happening during a dream sequence using the exact same set-up to turn off the weather effect once the sequence is over and it works just fine. The ONLY thing I can think of that would be the problem is that I have this weather switch on almost all my outside maps, because you can enter/leave buildings on any of them, but I'm not sure how this would effect it and if there's any other way to make sure the weather activates after leaving an inside area on a diff. map.
Problem with weather effects turning on/off
RPG Maker MV SupportAre you saying the weather doesn't turn off at all, or that you can briefly see it on the inside maps before it turns off?
Please show a screenshot of your event that turns off the weather (on a map where you know it doesn't work). Make sure to include the entire event window, not just the list of commands.
Also make sure you don't have another event on the map or a common event that is turning the weather on again.
Please show a screenshot of your event that turns off the weather (on a map where you know it doesn't work). Make sure to include the entire event window, not just the list of commands.
Also make sure you don't have another event on the map or a common event that is turning the weather on again.
It doesn't turn off at all. The rain just keeps going inside. Here's screenshots of both:
The weather controller event, which is outside.
And the door event, which leads inside.
And I checked my common events pretty much first thing after I realized it wasn't working, there's no weather control common event
Is Day 2 triggering a common event? You might want to put a conditional branch on there to make it not run on interior maps
Day 2 shouldn't be triggering any common events, I checked, I don't even have any common events with weather commands in them
It is because the outside weather is a parallel event that never ends. You only need to set the weather once, but the way you have it, it's setting the weather 60 times a second.
Your door event turns off the weather and transfers the player, but there is a brief time where the parallel process event is turning the weather back on again, before the transfer actually happens.
The solution ... put Erase Event on your parallel event that turns the weather on.
What is on page 2 of that event?
Your door event turns off the weather and transfers the player, but there is a brief time where the parallel process event is turning the weather back on again, before the transfer actually happens.
The solution ... put Erase Event on your parallel event that turns the weather on.
What is on page 2 of that event?
I think I understand now, I had the weather set to change before moving maps to prevent weird overlap but I should set it after the transfer to keep it from activating again. And the second page of the event was just to turn off the event permanently on Day 3.
Still put in the erase event, because you only need to set the weather once on a map. Without the erase, it could impact performance a bit. That way you don't need to remove the Stop Weather commands on all your doors, and you don't need to add Stop Weather events to all your interior maps.
If you'd rather turn off the weather once you get to the interior map, use a parallel process and make it erase as well.
If you'd rather turn off the weather once you get to the interior map, use a parallel process and make it erase as well.
Original thread: https://forums.rpgmakerweb.com/threads/problem-with-weather-effects-turning-on-off.143062/