Skip to content

Clear Weather

Clear Weather

Removes all active weather effects from the current map scene.

Properties

System

Name Explanation Type
Skip Exit Script Whether to skip the weather effect's exit script when removing it. Toggle

Examples

Clear All Weather from the Map

This removes all active weather effects from the current map.

clear_weather();
{"Data":{"SkipExitScript":false,"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Map.MapWeatherClearCommand"}

Clear All Weather, Skipping Exit Scripts

This removes all active weather effects and skips running each weather's exit script.

clear_weather(skip_script);
{"Data":{"SkipExitScript":true,"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Map.MapWeatherClearCommand"}