Arma 3 Scripting

Command in Environment

nextWeatherChange

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

Description

Return the remaining time (in seconds) over which the current weather change will occur.

When a weather change finishes, the game engine will automatically generate a new random weather change over a realistic time period (minimum of 90 minutes).

Syntax

nextWeatherChange

Returns: Number

Examples

Example 1

_seconds = nextWeatherChange;

Multiplayer

Each client and the server can have differing weather.

See also

fog · fogForecast · setFog · overcast · setOvercast · overcastForecast · forceWeatherChange