getEnv3DSoundController: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Some wiki formatting)
 
Line 6: Line 6:
|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"

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