---
name: "fogForecast"
type: command
status: ok
groups: ["Environment"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/fogForecast
revid: 310773
updated: 2022-05-07T20:21:44Z
---

# fogForecast

*Command · Environment · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Returns the forecast fog value. A value of 0 means no fog, 1 means maximum fog.

## Syntax

```sqf
fogForecast
```

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

## Examples

### Example 1

```sqf
_level = fogForecast;
```

## Multiplayer

This command returns the local forcast fog value. Each client and the server can have differing values.

## See also

[fogParams](../commands/fogParams.md) · [fog](../commands/fog.md) · [setFog](../commands/setFog.md) · [nextWeatherChange](../commands/nextWeatherChange.md)

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