getAllSoundControllers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|s1= [[getAllSoundControllers]] vehicle | |s1= [[getAllSoundControllers]] vehicle | ||
|p1= vehicle: [[Object]] - a vehicle - this does not work on humans | |p1= vehicle: [[Object]] - a '''vehicle''' - this does not work on humans | ||
|r1= [[Array]] in format [<nowiki/>["controllerA", valueA], ["controllerB", valueB], ...], controllers being, in order: | |r1= [[Array]] in format [<nowiki/>["controllerA", valueA], ["controllerB", valueB], ...], controllers being, in order: | ||
Line 106: | Line 106: | ||
* {{hl|"CustomSoundController31"}} | * {{hl|"CustomSoundController31"}} | ||
* {{hl|"CustomSoundController32"}} | * {{hl|"CustomSoundController32"}} | ||
}} | }} | ||
|x1= < | |||
|x1= <sqf> | |||
getAllSoundControllers vehicle player; | |||
/* | |||
returns e.g | returns e.g | ||
[ | [ | ||
Line 118: | Line 119: | ||
... | ... | ||
] | ] | ||
*/ | |||
</sqf> | |||
|seealso= [[Arma 3: Sound]] [[getSoundController]] [[getSoundControllerResult]] [[getEnvSoundController]] [[getAllEnvSoundControllers]] [[getCustomSoundController]] [[setCustomSoundController]] | |seealso= [[Arma 3: Sound]] [[getSoundController]] [[getSoundControllerResult]] [[getEnvSoundController]] [[getAllEnvSoundControllers]] [[getCustomSoundController]] [[setCustomSoundController]] [[getCustomSoundControllerCount]] | ||
}} | }} |
Latest revision as of 17:18, 17 April 2023
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 - a vehicle - this does not work on humans
- Return Value:
- Array in format [["controllerA", valueA], ["controllerB", valueB], ...], controllers being, in order:
- "rpm"
- "randomizer"
- "speed"
- "thrust"
- "campos"
- "engineon"
- "rotorspeed"
- "rotorthrust"
- "angvelocity"
- "gmeterz"
- "roughness"
- "dustness"
- "damper0"
- "damper1"
- "damper2"
- "damper3"
- "rock"
- "sand"
- "grass"
- "mud"
- "gravel"
- "asphalt"
- "gear"
- "flaps"
- "rotpos"
- "water"
- "apu"
- "batteries"
- "rpmstarter"
- "rpm1"
- "rpmstarter1"
- "motordamage"
- "transmissiondamage"
- "rotorbrake"
- "slingloadactive"
- "latslip"
- "latslipdrive"
- "longslip"
- "longslipdrive"
- "scrubland"
- "scrubobject"
- "scrubtree"
- "scrubbuilding"
- "scrubarmor"
- "engineeffectivity"
- "rain"
- "wind"
- "lateralmovement"
- "playerpos"
- "rotordamage"
- "distance"
- "machcone"
- "camint"
- "camext"
- "houses"
- "meadow"
- "forest"
- "trees"
- "altRadar"
- "acceleration"
- "CustomSoundController1"
- "CustomSoundController2"
- "CustomSoundController3"
- "CustomSoundController4"
- "CustomSoundController5"
- "CustomSoundController6"
- "CustomSoundController7"
- "CustomSoundController8"
- "CustomSoundController9"
- "CustomSoundController10"
- "CustomSoundController11"
- "CustomSoundController12"
- "CustomSoundController13"
- "CustomSoundController14"
- "CustomSoundController15"
- "CustomSoundController16"
- "CustomSoundController17"
- "CustomSoundController18"
- "CustomSoundController19"
- "CustomSoundController20"
- "CustomSoundController21"
- "CustomSoundController22"
- "CustomSoundController23"
- "CustomSoundController24"
- "CustomSoundController25"
- "CustomSoundController26"
- "CustomSoundController27"
- "CustomSoundController28"
- "CustomSoundController29"
- "CustomSoundController30"
- "CustomSoundController31"
- "CustomSoundController32"
Examples
- Example 1:
Additional Information
- See also:
- Arma 3: Sound getSoundController getSoundControllerResult getEnvSoundController getAllEnvSoundControllers getCustomSoundController setCustomSoundController getCustomSoundControllerCount
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