---
name: "forceWeatherChange"
type: command
status: ok
groups: ["Environment"]
arma3_since: "1.16"
locality: {"argument": null, "effect": null, "server_exec": true}
source: https://community.bistudio.com/wiki/forceWeatherChange
revid: 369386
updated: 2024-09-03T18:43:16Z
---

# forceWeatherChange

*Command · Environment · Arma 3 v1.16*

Locality: **server execution only**

## 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

```sqf
forceWeatherChange
```

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

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

## See also

[fog](../commands/fog.md) · [fogForecast](../commands/fogForecast.md) · [setFog](../commands/setFog.md) · [overcast](../commands/overcast.md) · [setOvercast](../commands/setOvercast.md) · [overcastForecast](../commands/overcastForecast.md) · [nextWeatherChange](../commands/nextWeatherChange.md) · [rain](../commands/rain.md) · [setRain](../commands/setRain.md) · [setWind](../commands/setWind.md) · [simulWeatherSync](../commands/simulWeatherSync.md)

<sub>Source: [BI Community Wiki — forceWeatherChange](https://community.bistudio.com/wiki/forceWeatherChange) (revision 369386).</sub>
