getEnv3DSoundController: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.08
|version1= 2.08
|branch= dev


|gr1= Sounds
|gr1= Sounds


|descr= Returns value of the specified 3D controller, see [[getAllEnv3DSoundControllers]]
|descr= Returns value of the specified 3D controller, see [[getAllEnv3DSoundControllers]].


|s1= object [[getEnv3DSoundController]] controller
|s1= object [[getEnv3DSoundController]] controller


|p1= object: [[Object]] - Environmental sound source like a tree or a house, see [[allEnv3DSoundSources]]
|p1= object: [[Object]] - environmental sound source like a tree or a house - see [[allEnv3DSoundSources]]


|p2= controller: [[String]] - name of environmental variable like "trees" or "houses"
|p2= controller: [[String]] - name of environmental variable like "trees" or "houses"
Line 17: 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]]
}}
}}

Latest 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