getEnvSoundController: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(dev)
(syntax)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Position]] '''getEnvSoundController''' [[String]] |= Syntax
| position '''getEnvSoundController''' controller |= Syntax
|p1 = position: [[Position]].|=
|p1 = position: [[Position]].|=
|p2 = string: [[String]], name of environmental variable like "trees" or "houses".|=
|p2 = controller: [[String]], name of environmental variable like "trees" or "houses".|=
| [[Number]] |= Return value
| [[Number]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 20:08, 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 value of environmental variable.
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";
Result:
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]]