getEnv3DSoundController

From Bohemia Interactive Community
Revision as of 12:42, 3 May 2022 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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