getAllEnvSoundControllers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(dev)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3dev |= Game name


|1.63|= Game version
|1.63|= Game version

Revision as of 19:54, 22 June 2016

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.63|1.63]]
Hover & click on the images for description

Description

Description:
Returns Array of names and values of environmental variables that can be used in simple expressions when configuring sounds.
Groups:
Uncategorised

Syntax

Syntax:
getAllEnvSoundControllers Position
Parameters:
position: Position.
Return Value:
Array

Examples

Example 1:
getAllEnvSoundControllers (position player);
Result:
[["rain",0],["night",0],["wind",0.161588],["daytime",0.500069],["distance",211.536],["meadows",0.788513],["trees",0.211487],["houses",0],["forest",0],["sea",0],["coast",0],["altitudeGround",0],["altitudeSea",0.746414],["shooting",1],["deadBody",0]]

Additional Information

See also:
Arma_3_SoundgetSoundControllergetSoundControllerResultgetEnvSoundControllergetAllSoundControllers

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

[[Category:Introduced with arma3dev version 1.63]][[ Category: arma3dev: New Scripting Commands | GETALLENVSOUNDCONTROLLERS]][[ Category: arma3dev: Scripting Commands | GETALLENVSOUNDCONTROLLERS]]