---
name: "getAllEnv3DSoundControllers"
type: command
status: ok
groups: ["Sounds"]
arma3_since: "2.08"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getAllEnv3DSoundControllers
revid: 377625
updated: 2026-01-02T08:52:04Z
---

# getAllEnv3DSoundControllers

*Command · Sounds · Arma 3 v2.08*

## Description

Returns an array containing the names and values of environmental 3D sound controllers, variables that can be used in simple expressions when configuring sounds.

> [!IMPORTANT]
> - Controller names are case sensitive
> - Wind param difference:
>   - `wind` is for **3D** controller
>   - `wind**y**` is for **2D** controller ([getAllEnvSoundControllers](../commands/getAllEnvSoundControllers.md))

## Syntax

```sqf
getAllEnv3DSoundControllers object
```

**Parameters:**

- `object`: [Object](../topics/Object.md) - environmental sound source like a tree or a house, see [allEnv3DSoundSources](../commands/allEnv3DSoundSources.md)

**Returns:** [Array](../topics/Array.md) with [["controllerA", valueA], ["controllerB", valueB], ...], controllers being, in order:
- `"rain"`
- `"night"`
- `"wind"`
- `"daytime"`
- `"distance"`
- `"shooting"`
- `"meadows"`
- `"trees"`
- `"houses"`
- `"forest"`
- `"sea"`
- `"altitudeSea"`
- `"altitudeGround"`
- `"rainDrops"`
- `"yearTime"`
- `"ambientTemp"`
- `"snow"`

## Examples

### Example 1

```sqf
getAllEnv3DSoundControllers _thatTreeOverThere;
/*
    returns e.g
    [
        ["rain",0],
        ["night",0],
        ["wind",0.161588],
        ...
    ]
*/
```

## See also

[getAllEnvSoundControllers](../commands/getAllEnvSoundControllers.md) · [getEnv3DSoundController](../commands/getEnv3DSoundController.md) · [allEnv3DSoundSources](../commands/allEnv3DSoundSources.md) · [selectBestPlaces](../commands/selectBestPlaces.md) · [getSoundController](../commands/getSoundController.md) · [getSoundControllerResult](../commands/getSoundControllerResult.md) · [getEnvSoundController](../commands/getEnvSoundController.md) · [getAllSoundControllers](../commands/getAllSoundControllers.md) · [getCustomSoundController](../commands/getCustomSoundController.md) · [setCustomSoundController](../commands/setCustomSoundController.md) · [getCustomSoundControllerCount](../commands/getCustomSoundControllerCount.md) · Arma 3: Sound

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