getAllSoundControllers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=") |
||
Line 11: | Line 11: | ||
| '''getAllSoundControllers''' vehicle | | '''getAllSoundControllers''' vehicle | ||
|p1= vehicle: [[Object]] - must be a vehicle (does not work on soldiers) | |p1= vehicle: [[Object]] - must be a vehicle (does not work on soldiers) | ||
| [[Array]] - [<nowiki/>["controllerA", valueA], ["controllerB", valueB], ...] | |r1= [[Array]] - [<nowiki/>["controllerA", valueA], ["controllerB", valueB], ...] | ||
|x1= <code>[[getAllSoundControllers]] [[vehicle]] [[player]];</code> | |x1= <code>[[getAllSoundControllers]] [[vehicle]] [[player]];</code> | ||
<pre>Result: [["rpm",0],["randomizer",0.874332],["speed",0],["thrust",0],...]] | <pre>Result: [["rpm",0],["randomizer",0.874332],["speed",0],["thrust",0],...]] |
Revision as of 14:22, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Sounds
Syntax
- Syntax:
- Syntax needed
- 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