getAllEnvSoundControllers: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") |
||
Line 31: | Line 31: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|getAllEnvSoundControllers]] | [[Category:Scripting Commands|getAllEnvSoundControllers]] | ||
{{GameCategory|arma3|Scripting Commands}} | |||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> |
Revision as of 00:38, 8 January 2021
Description
- Description:
- Returns an array containing the names and values of environmental variables that can be used in simple expressions when configuring sounds.
- Groups:
- Sounds
Syntax
- Syntax:
- getAllEnvSoundControllers position
- Parameters:
- position: Position.
- Return Value:
- Array - [["controllerA", valueA], ["controllerB", valueB], ...]
Examples
- Example 1:
getAllEnvSoundControllers position player;
Result: [["rain",0],["night",0],["wind",0.161588],...]
Additional Information
- See also:
- selectBestPlacesgetSoundControllergetSoundControllerResultgetEnvSoundControllergetAllSoundControllersgetCustomSoundControllersetCustomSoundControllergetCustomSoundControllerCount , 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
Notes
- Posted on March 25, 2018 - 17:49 (UTC)
- Tankbuster
- This command will return data on the following attributes; rain, night, wind, daytime, meadows, trees, houses, forest, sea, coast, altitudeGround. alititudeSea, shooting, deadbody and fog