---
name: "setWindStr"
type: command
status: ok
groups: ["Environment"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setWindStr
revid: 370475
updated: 2024-12-16T18:10:00Z
---

# setWindStr

*Command · Environment · Arma 3 v0.50*

## Description

Changes the wind strength smoothly during the given time (in seconds). A time of zero means there will be an immediate change.

## Syntax

```sqf
time setWindStr value
```

**Parameters:**

- `time`: [Number](../topics/Number.md)
- `value`: [Number](../topics/Number.md) - new value in range 0..1

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

## Examples

### Example 1

```sqf
60 setWindStr 0.8; // set the wind strength to 0.8 gradually over the next 60 seconds
```

## See also

[setWind](../commands/setWind.md) · [setWindForce](../commands/setWindForce.md)

## Community notes

**Sa-Matra** — 2022-08-01

This weird command affects `setFog` by limiting maximum number of fogValue you can have. If you do `0 setWindStr 1`, setting any fog with time > 0 will reduce the fog to 0 over provided time. Setting fog instantly with time = 0 will set the desired value properly though. The formula is: max fogValue = 1 - windStr

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