getEnvSoundController: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
No edit summary
Line 17: Line 17:
|x1 = <code>[[position]] [[player]] [[getEnvSoundController]] "trees"; //0.3333</code>
|x1 = <code>[[position]] [[player]] [[getEnvSoundController]] "trees"; //0.3333</code>


| [[Arma_3_Sound]], [[getSoundController]], [[getSoundControllerResult]], [[getAllEnvSoundControllers]], [[getAllSoundControllers]]  |= See also
| [[Arma 3 Sound]], [[getSoundController]], [[getSoundControllerResult]], [[getAllEnvSoundControllers]], [[getAllSoundControllers]]  |= See also
}}
}}

Revision as of 19:39, 4 July 2016

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

Description

Description:
Returns value of the specified controller.
Groups:
Uncategorised

Syntax

Syntax:
position getEnvSoundController controller
Parameters:
position: Position
controller: String - name of environmental variable like "trees" or "houses"
Return Value:
Number

Examples

Example 1:
position player getEnvSoundController "trees"; //0.3333

Additional Information

See also:
Arma 3 SoundgetSoundControllergetSoundControllerResultgetAllEnvSoundControllersgetAllSoundControllers

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 | GETENVSOUNDCONTROLLER]][[ Category: arma3dev: Scripting Commands | GETENVSOUNDCONTROLLER]]