getAllEnvSoundControllers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(array of arrays)
Line 12: Line 12:
| '''getAllEnvSoundControllers''' position |SYNTAX=
| '''getAllEnvSoundControllers''' position |SYNTAX=
|p1 = position: [[Position]].|=
|p1 = position: [[Position]].|=
| [[Array]] - ["controllerA", valueA], ["controllerB", valueB] |RETURNVALUE=
| [[Array]] - [["controllerA", valueA], ["controllerB", valueB], ...] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>[[getAllEnvSoundControllers]] [[position]] [[player]];</code>
|x1 = <code>[[getAllEnvSoundControllers]] [[position]] [[player]];</code>

Revision as of 18:14, 3 May 2019

{{Command|= Comments ____________________________________________________________________________________________

| arma3 |= Game name

|1.64|= Game version ____________________________________________________________________________________________

| Returns an array containing the names and values of environmental variables that can be used in simple expressions when configuring sounds.|DESCRIPTION= ____________________________________________________________________________________________

| getAllEnvSoundControllers position |SYNTAX= |p1 = position: Position.|= | Array - [["controllerA", valueA], ["controllerB", valueB], ...] |RETURNVALUE= ____________________________________________________________________________________________ |x1 = getAllEnvSoundControllers position player;

Result:
[["rain",0],["night",0],["wind",0.161588],...]

|EXAMPLE1=


|selectBestPlaces, getSoundController, getSoundControllerResult, getEnvSoundController, getAllSoundControllers, getCustomSoundController, setCustomSoundController, getCustomSoundControllerCount , Arma 3 Sound |SEEALSO= }}

Notes

Bottom Section

Posted on March 25, 2018 - 17:49 (UTC)
Tankbuster
This command will return data on the following attributes; rain, night, wind, daytime, meadows, trees, houses, forest, sea, coast, altitudeGround. alititudeSea, shooting, deadbody and fog