{"name":"forceWeatherChange","operator":null,"title":"forceWeatherChange","type":"command","url":"https://community.bistudio.com/wiki/forceWeatherChange","revid":369386,"updated":"2024-09-03T18:43:16Z","groups":["Environment"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.16"}],"since":{"game":"arma3","name":"Arma 3","version":"1.16"},"arma3_since":"1.16","branch":null,"locality":{"argument":null,"effect":null,"server_exec":true},"exec":null,"description":"Forcibly applies previously set weather settings. Skips smooth transitions. This might cause lag.\n\n> [!NOTE]\n> To prevent the engine from overwriting custom weather settings, enable the *Manual Control* settings in Eden Editor's intel section.","syntaxes":[{"syntax":"forceWeatherChange","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\n0 setOvercast 1;\n0 setRain 1;\nforceWeatherChange; // Force immediate change overriding smooth transitions\n```","code":["0 setOvercast 1;\n0 setRain 1;\nforceWeatherChange; // Force immediate change overriding smooth transitions"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["fog","fogForecast","setFog","overcast","setOvercast","overcastForecast","nextWeatherChange","rain","setRain","setWind","simulWeatherSync"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Environment","Introduced with Arma 3 version 1.16","Scripting Commands","Scripting Commands: Server Execution"]}