getEnvSoundController: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (format) |
Killzone Kid (talk | contribs) (format) |
||
Line 11: | Line 11: | ||
| position '''getEnvSoundController''' controller |= Syntax | | position '''getEnvSoundController''' controller |= Syntax | ||
|p1 = position: [[Position]] | |p1 = position: [[Position]]|= | ||
|p2 = controller: [[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 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code>[[position]] [[player]] [[getEnvSoundController]] "trees"; | |x1 = <code>[[position]] [[player]] [[getEnvSoundController]] "trees"; //0.3333</code> | ||
0.3333 | |||
</ | |||
| [[Arma_3_Sound]], [[getSoundController]], [[getSoundControllerResult]], [[getAllEnvSoundControllers]], [[getAllSoundControllers]] |= See also | | [[Arma_3_Sound]], [[getSoundController]], [[getSoundControllerResult]], [[getAllEnvSoundControllers]], [[getAllSoundControllers]] |= See also | ||
}} | }} |
Revision as of 20:10, 22 June 2016
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]]