Arma 3 Scripting

getAllEnv3DSoundControllers

  • Arma 3 v2.08

Command · Markdown · JSON · original wiki page

Description

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

Important

  • Controller names are case sensitive
  • Wind param difference:

Syntax

getAllEnv3DSoundControllers object

Parameters:

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

Examples

Example 1

getAllEnv3DSoundControllers _thatTreeOverThere;
/*
    returns e.g
    [
        ["rain",0],
        ["night",0],
        ["wind",0.161588],
        ...
    ]
*/

See also

getAllEnvSoundControllers · getEnv3DSoundController · allEnv3DSoundSources · selectBestPlaces · getSoundController · getSoundControllerResult · getEnvSoundController · getAllSoundControllers · getCustomSoundController · setCustomSoundController · getCustomSoundControllerCount · Arma 3: Sound