I've been working on a game in RPG Maker VX Ace, and I recently came across Dekita's battle weather effects script -- very cool! The script works exactly as it says it should; if I have some weather set on a map and then begin a battle, the weather effect continues in the battle. However, I was wondering if there is a way to use it for a slightly different purpose.
I would like to create a skill called "hail" which changes the weather to snowing and puts a state on participants in a battle. I'm able to change the weather to snow via a common event with the script call:
$game_map.screen.change_weather🙂snow, 9, 0)
Unfortunately when I cast the skill, the weather in the battle does not update. I know that the map's weather has changed however, because after completing the battle it is snowing on the map. Is there a way to force the script to re-check the map's weather partway through a battle so that it can be updated?
I've attached the version of the script that I found online.
Thanks!
View attachment Dekita_BattleWeatherEffects.txt
I would like to create a skill called "hail" which changes the weather to snowing and puts a state on participants in a battle. I'm able to change the weather to snow via a common event with the script call:
$game_map.screen.change_weather🙂snow, 9, 0)
Unfortunately when I cast the skill, the weather in the battle does not update. I know that the map's weather has changed however, because after completing the battle it is snowing on the map. Is there a way to force the script to re-check the map's weather partway through a battle so that it can be updated?
I've attached the version of the script that I found online.
Thanks!
View attachment Dekita_BattleWeatherEffects.txt