Arma 3 Scripting

getAllSoundControllers

  • Arma 3 v1.64

Command · Markdown · JSON · original wiki page

Description

Returns an array containing names and values of the sound controllers that can be used in simple expressions when configuring sounds.

Syntax

getAllSoundControllers vehicle

Parameters:

Returns: Array with [["controllerA", valueA], ["controllerB", valueB], ...], controllers being, in order:

Examples

Example 1

getAllSoundControllers vehicle player;
/*
    returns e.g
    [
        ["rpm",0],
        ["randomizer",0.874332],
        ["speed",0],
        ["thrust",0],
        ...
    ]
*/

See also

Arma 3: Sound · getSoundController · getSoundControllerResult · getEnvSoundController · getAllEnvSoundControllers · getCustomSoundController · setCustomSoundController · getCustomSoundControllerCount