getEnv3DSoundController: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|branch= dev " to "")
m (Some wiki formatting)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.08
|version1= 2.08
|gr1= Sounds
|gr1= Sounds


Line 15: Line 16:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_thatTreeOverThere [[getEnv3DSoundController]] "rainDrops"; //1</code>
|x1= <sqf>_thatTreeOverThere getEnv3DSoundController "rainDrops"; // returns 1</sqf>


|seealso= [[getEnvSoundController]] [[getAllEnv3DSoundControllers]] [[allEnv3DSoundSources]] [[selectBestPlaces]] [[getSoundController]] [[getSoundControllerResult]] [[getAllEnvSoundControllers]] [[getAllSoundControllers]] [[getCustomSoundController]] [[setCustomSoundController]] [[getCustomSoundControllerCount]] [[Arma 3: Sound]]
|seealso= [[getEnvSoundController]] [[getAllEnv3DSoundControllers]] [[allEnv3DSoundSources]] [[selectBestPlaces]] [[getSoundController]] [[getSoundControllerResult]] [[getAllEnvSoundControllers]] [[getAllSoundControllers]] [[getCustomSoundController]] [[setCustomSoundController]] [[getCustomSoundControllerCount]] [[Arma 3: Sound]]
}}
}}

Revision as of 13:42, 3 May 2022

Hover & click on the images for description

Description

Description:
Returns value of the specified 3D controller, see getAllEnv3DSoundControllers
Groups:
Sounds

Syntax

Syntax:
object getEnv3DSoundController controller
Parameters:
object: Object - Environmental sound source like a tree or a house, see allEnv3DSoundSources
controller: String - name of environmental variable like "trees" or "houses"
Return Value:
Number

Examples

Example 1:
_thatTreeOverThere getEnv3DSoundController "rainDrops"; // returns 1

Additional Information

See also:
getEnvSoundController getAllEnv3DSoundControllers allEnv3DSoundSources selectBestPlaces getSoundController getSoundControllerResult getAllEnvSoundControllers getAllSoundControllers getCustomSoundController setCustomSoundController getCustomSoundControllerCount Arma 3: Sound

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note