{"name":"getAllEnv3DSoundControllers","operator":null,"title":"getAllEnv3DSoundControllers","type":"command","url":"https://community.bistudio.com/wiki/getAllEnv3DSoundControllers","revid":377625,"updated":"2026-01-02T08:52:04Z","groups":["Sounds"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.08"}],"since":{"game":"arma3","name":"Arma 3","version":"2.08"},"arma3_since":"2.08","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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.\n\n> [!IMPORTANT]\n> - Controller names are case sensitive\n> - Wind param difference:\n>   - `wind` is for **3D** controller\n>   - `wind**y**` is for **2D** controller (getAllEnvSoundControllers)","syntaxes":[{"syntax":"getAllEnv3DSoundControllers object","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":"environmental sound source like a tree or a house, see allEnv3DSoundSources","types":["Object"],"since":null,"text":"object: Object - environmental sound source like a tree or a house, see allEnv3DSoundSources"}],"returns":{"type":"Array with [[\"controllerA\", valueA], [\"controllerB\", valueB], ...], controllers being, in order:","types":["Array"],"description":"`\"rain\"` - `\"night\"` - `\"wind\"` - `\"daytime\"` - `\"distance\"` - `\"shooting\"` - `\"meadows\"` - `\"trees\"` - `\"houses\"` - `\"forest\"` - `\"sea\"` - `\"altitudeSea\"` - `\"altitudeGround\"` - `\"rainDrops\"` - `\"yearTime\"` - `\"ambientTemp\"` - `\"snow\"`","text":"Array with [[\"controllerA\", valueA], [\"controllerB\", valueB], ...], controllers being, in order:\n- `\"rain\"`\n- `\"night\"`\n- `\"wind\"`\n- `\"daytime\"`\n- `\"distance\"`\n- `\"shooting\"`\n- `\"meadows\"`\n- `\"trees\"`\n- `\"houses\"`\n- `\"forest\"`\n- `\"sea\"`\n- `\"altitudeSea\"`\n- `\"altitudeGround\"`\n- `\"rainDrops\"`\n- `\"yearTime\"`\n- `\"ambientTemp\"`\n- `\"snow\"`"},"form":"unary","operator":null,"left":null,"right":{"text":"object","types":["Object"]}}],"examples":[{"text":"```sqf\ngetAllEnv3DSoundControllers _thatTreeOverThere;\n/*\n    returns e.g\n    [\n        [\"rain\",0],\n        [\"night\",0],\n        [\"wind\",0.161588],\n        ...\n    ]\n*/\n```","code":["getAllEnv3DSoundControllers _thatTreeOverThere;\n/*\n\treturns e.g\n\t[\n\t\t[\"rain\",0],\n\t\t[\"night\",0],\n\t\t[\"wind\",0.161588],\n\t\t...\n\t]\n*/"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getAllEnvSoundControllers","getEnv3DSoundController","allEnv3DSoundSources","selectBestPlaces","getSoundController","getSoundControllerResult","getEnvSoundController","getAllSoundControllers","getCustomSoundController","setCustomSoundController","getCustomSoundControllerCount","Arma 3: Sound"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Sounds","Introduced with Arma 3 version 2.08","Scripting Commands"]}