{"name":"getEnv3DSoundController","operator":null,"title":"getEnv3DSoundController","type":"command","url":"https://community.bistudio.com/wiki/getEnv3DSoundController","revid":309132,"updated":"2022-05-03T11:42:40Z","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 value of the specified 3D controller, see getAllEnv3DSoundControllers.","syntaxes":[{"syntax":"object getEnv3DSoundController controller","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"},{"name":"controller","type":"String","optional":false,"default":null,"description":"name of environmental variable like \"trees\" or \"houses\"","types":["String"],"since":null,"text":"controller: String - name of environmental variable like \"trees\" or \"houses\""}],"returns":{"type":"Number","types":["Number"],"description":null,"text":"Number"},"form":"binary","operator":null,"left":{"text":"object","types":["Object"]},"right":{"text":"controller","types":["String"]}}],"examples":[{"text":"```sqf\n_thatTreeOverThere getEnv3DSoundController \"rainDrops\"; // returns 1\n```","code":["_thatTreeOverThere getEnv3DSoundController \"rainDrops\"; // returns 1"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getEnvSoundController","getAllEnv3DSoundControllers","allEnv3DSoundSources","selectBestPlaces","getSoundController","getSoundControllerResult","getAllEnvSoundControllers","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"]}