getSoundController: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| ?\[\[([a-zA-Z0-9]+)\]\] *\|x1=" to " |r1= $1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 9: | Line 9: | ||
| Returns value of the given sound controller. | | Returns value of the given sound controller. | ||
| vehicle '''getSoundController''' controller | |s1= vehicle '''getSoundController''' controller | ||
|p1= vehicle: [[Object]] - must be a vehicle (does not work on soldiers) | |p1= vehicle: [[Object]] - must be a vehicle (does not work on soldiers) | ||
|p2= controller: [[String]] - name of sound controller, for example "rpm" or "thrust". | |p2= controller: [[String]] - name of sound controller, for example "rpm" or "thrust". |
Revision as of 23:13, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Sounds
Syntax
- Syntax:
- vehicle getSoundController controller
- Parameters:
- vehicle: Object - must be a vehicle (does not work on soldiers)
- controller: String - name of sound controller, for example "rpm" or "thrust".
- Return Value:
- Number
Examples
- Example 1:
vehicle player getSoundController "rpm"; //600
Additional Information
- See also:
- Arma 3: SoundgetAllSoundControllersgetSoundControllerResultgetEnvSoundControllergetAllEnvSoundControllersgetCustomSoundControllersetCustomSoundControllergetCustomSoundControllerCount
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