getEnv3DSoundController: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.08 | |version1= 2.08 | ||
|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]] - | |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= < | |x1= <sqf>_thatTreeOverThere getEnv3DSoundController "rainDrops"; // returns 1</sqf> | ||
|seealso= [[getEnvSoundController]] [[getAllEnv3DSoundControllers]] | |seealso= [[getEnvSoundController]] [[getAllEnv3DSoundControllers]] [[allEnv3DSoundSources]] [[selectBestPlaces]] [[getSoundController]] [[getSoundControllerResult]] [[getAllEnvSoundControllers]] [[getAllSoundControllers]] [[getCustomSoundController]] [[setCustomSoundController]] [[getCustomSoundControllerCount]] [[Arma 3: Sound]] | ||
}} | }} |
Latest revision as of 12:42, 3 May 2022
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