---
name: "BIS_fnc_moduleWeather"
type: function
status: ok
groups: ["Modules"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_moduleWeather
revid: 309885
updated: 2022-05-05T12:09:54Z
---

# BIS_fnc_moduleWeather

*Function · Modules · Arma 3 v1.00*

## Description

Set overcast and fog

## Syntax

*syntax inferred from the function header*

```sqf
[param0, param1] call BIS_fnc_moduleWeather
```

**Parameters:**

- `param0` — 0: STRING - mode, can be one of following
  "enableDelay" - enable delayed activation (i.e., weather changes are not applied manually and have to be confirmed by mission)
- `param1` — 1: BOOL - true to enbale, false to disable

**Returns:** Nothing

        "isDelayEnabled"
true if delayed activation is enabled, otherwise false

        "commit" - apply weather changes
Nothing

## Function header

The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.

```sqf
/*
Description:
Set overcast and fog

Parameter(s):
    0: STRING - mode, can be one of following

        "enableDelay" - enable delayed activation (i.e., weather changes are not applied manually and have to be confirmed by mission)
            1: BOOL - true to enbale, false to disable
            Returns: Nothing

        "isDelayEnabled"
            Returns: true if delayed activation is enabled, otherwise false

        "commit" - apply weather changes
Returns:
Nothing
*/
```

<sub>Source: [BI Community Wiki — BIS fnc moduleWeather](https://community.bistudio.com/wiki/BIS_fnc_moduleWeather) (revision 309885).</sub>
