Arma 3 Scripting

Command in Environment

forceWeatherChange

Also available as Markdown and JSON, or read the original wiki page.

Description

Forcibly applies previously set weather settings. Skips smooth transitions. This might cause lag.

Note

To prevent the engine from overwriting custom weather settings, enable the Manual Control settings in Eden Editor's intel section.

Syntax

forceWeatherChange

Returns: Nothing

Examples

Example 1

0 setOvercast 1;
0 setRain 1;
forceWeatherChange; // Force immediate change overriding smooth transitions

See also

fog · fogForecast · setFog · overcast · setOvercast · overcastForecast · nextWeatherChange · rain · setRain · setWind · simulWeatherSync