getAllEnv3DSoundControllers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 7: | Line 7: | ||
|descr= Returns an array containing the names and values of environmental 2D sound controllers, variables that can be used in simple expressions when configuring sounds. | |descr= Returns an array containing the names and values of environmental 2D sound controllers, variables that can be used in simple expressions when configuring sounds. | ||
{{Feature | | {{Feature|important| | ||
* Controller names are case sensitive | * Controller names are case sensitive | ||
* wind param difference: | * wind param difference: | ||
Line 40: | Line 40: | ||
}} | }} | ||
|x1= < | |x1= <sqf> | ||
getAllEnv3DSoundControllers _thatTreeOverThere; | |||
/* | |||
returns e.g | returns e.g | ||
[ | [ | ||
Line 49: | Line 50: | ||
... | ... | ||
] | ] | ||
*/ | |||
</sqf> | |||
|seealso= [[getAllEnvSoundControllers]] [[getEnv3DSoundController]] [[allEnv3DSoundSources]] [[selectBestPlaces]] [[getSoundController]] [[getSoundControllerResult]] [[getEnvSoundController]] [[getAllSoundControllers]] [[getCustomSoundController]] [[setCustomSoundController]] [[getCustomSoundControllerCount]] [[Arma 3: Sound]] | |seealso= [[getAllEnvSoundControllers]] [[getEnv3DSoundController]] [[allEnv3DSoundSources]] [[selectBestPlaces]] [[getSoundController]] [[getSoundControllerResult]] [[getEnvSoundController]] [[getAllSoundControllers]] [[getCustomSoundController]] [[setCustomSoundController]] [[getCustomSoundControllerCount]] [[Arma 3: Sound]] | ||
}} | }} |
Revision as of 11:14, 3 May 2022
Description
- Description:
- Returns an array containing the names and values of environmental 2D sound controllers, variables that can be used in simple expressions when configuring sounds.
- Groups:
- Sounds
Syntax
- Syntax:
- getAllEnv3DSoundControllers object
- Parameters:
- object: Object - Environmental sound source like a tree or a house, see allEnv3DSoundSources
- Return Value:
- Array in format [["controllerA", valueA], ["controllerB", valueB], ...], controllers being, in order:
- "rain"
- "night"
- "wind"
- "daytime"
- "distance"
- "shooting"
- "meadows"
- "trees"
- "houses"
- "forest"
- "sea"
- "altitudeSea"
- "altitudeGround"
- "rainDrops"
- "yearTime"
- "ambientTemp"
- "snow"
Examples
- Example 1:
- getAllEnv3DSoundControllers _thatTreeOverThere; /* returns e.g [ ["rain",0], ["night",0], ["wind",0.161588], ... ] */
Additional Information
- See also:
- getAllEnvSoundControllers getEnv3DSoundController allEnv3DSoundSources selectBestPlaces getSoundController getSoundControllerResult getEnvSoundController 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