getAllSoundControllers: 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 29: | Line 29: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|getAllSoundControllers]] | [[Category:Scripting Commands|getAllSoundControllers]] | ||
{{GameCategory|arma3|Scripting Commands}} |
Revision as of 10:54, 8 January 2021
Description
- Description:
- Returns an array containing names and values of the sound controllers that can be used in simple expressions when configuring sounds.
- Groups:
- Sounds
Syntax
- Syntax:
- getAllSoundControllers vehicle
- Parameters:
- vehicle: Object - must be a vehicle (does not work on soldiers)
- Return Value:
- Array - [["controllerA", valueA], ["controllerB", valueB], ...]
Examples
- Example 1:
getAllSoundControllers vehicle player;
Result: [["rpm",0],["randomizer",0.874332],["speed",0],["thrust",0],...]]
Additional Information
- See also:
- Arma 3 SoundgetSoundControllergetSoundControllerResultgetEnvSoundControllergetAllEnvSoundControllersgetCustomSoundControllersetCustomSoundControllergetCustomSoundControllerCount
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