{"name":"nextWeatherChange","title":"nextWeatherChange","type":"command","url":"https://community.bistudio.com/wiki/nextWeatherChange","revid":379151,"updated":"2026-10-17T01:44:35Z","groups":["Environment"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","description":"Return the remaining time (in seconds) over which the current weather change will occur.\n\nWhen a weather change finishes, the game engine will automatically generate a new random weather change over a realistic time period (minimum of 90 minutes).","syntaxes":[{"syntax":"nextWeatherChange","params":[],"returns":{"type":"Number","type_expr":"Number"},"form":"nullary"}],"examples":[{"code":["_seconds = nextWeatherChange;"]}],"multiplayer":"Each client and the server can have differing weather.","see_also":["fog","fogForecast","setFog","overcast","setOvercast","overcastForecast","forceWeatherChange"],"notes":[{"user":"OverlordZorn","date":"2026-10-17T01:44:35Z","text":"Tested in Arma 3 v2.22: `setFog` sets this timer to its transition time, while `setOvercast` leaves it unchanged. When it reaches 0, the engine rolls a new weather forecast."}]}