---
name: "fadeEnvironment"
type: command
status: ok
groups: ["Sounds"]
arma3_since: "2.04"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/fadeEnvironment
revid: 338929
updated: 2023-04-17T15:30:39Z
---

# fadeEnvironment

*Command · Sounds · Arma 3 v2.04*

Locality: effect **local**

## Description

Changes the master environment volume smoothly within the given time and is different from [enableEnvironment](../commands/enableEnvironment.md) global mute option. The default volume is 1.

Influenced sounds, among others, are:
- forest sounds (birds, crickets, ...)
- waves
- wind
- rain
- object sounds (air conditioners, ...)
- Arma 3 v2.06 thunder

## Syntax

```sqf
time fadeEnvironment volume
```

**Parameters:**

- `time`: [Number](../topics/Number.md) - fade interval in seconds
- `volume`: [Number](../topics/Number.md) - speech volume in range 0..1

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

## Examples

### Example 1

```sqf
5 fadeEnvironment 0.1;
```

## See also

[environmentVolume](../commands/environmentVolume.md) · [fadeSpeech](../commands/fadeSpeech.md) · [fadeRadio](../commands/fadeRadio.md) · [fadeSound](../commands/fadeSound.md) · [fadeMusic](../commands/fadeMusic.md) · [soundVolume](../commands/soundVolume.md) · [musicVolume](../commands/musicVolume.md) · [radioVolume](../commands/radioVolume.md) · [speechVolume](../commands/speechVolume.md) · [enableEnvironment](../commands/enableEnvironment.md) · [environmentEnabled](../commands/environmentEnabled.md)

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