getEnvSoundController: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=") |
||
Line 11: | Line 11: | ||
| position '''getEnvSoundController''' controller | | position '''getEnvSoundController''' controller | ||
|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]] | |[[Number]] | ||
|x1 = <code>[[position]] [[player]] [[getEnvSoundController]] "trees"; //0.3333</code> | |x1= <code>[[position]] [[player]] [[getEnvSoundController]] "trees"; //0.3333</code> | ||
|seealso= [[selectBestPlaces]], [[getSoundController]], [[getSoundControllerResult]], [[getAllEnvSoundControllers]], [[getAllSoundControllers]], [[getCustomSoundController]], [[setCustomSoundController]], [[getCustomSoundControllerCount]], [[Arma 3: Sound]] | |seealso= [[selectBestPlaces]], [[getSoundController]], [[getSoundControllerResult]], [[getAllEnvSoundControllers]], [[getAllSoundControllers]], [[getCustomSoundController]], [[setCustomSoundController]], [[getCustomSoundControllerCount]], [[Arma 3: Sound]] |
Revision as of 23:29, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Sounds
Syntax
- Syntax:
- Syntax needed
- Parameters:
- position: Position
- controller: String - name of environmental variable like "trees" or "houses"
- Return Value:
- Return value needed
Examples
- Example 1:
position player getEnvSoundController "trees"; //0.3333
Additional Information
- See also:
- selectBestPlacesgetSoundControllergetSoundControllerResultgetAllEnvSoundControllersgetAllSoundControllersgetCustomSoundControllersetCustomSoundControllergetCustomSoundControllerCountArma 3: Sound
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
- Posted on March 25, 2018 - 17:51 (UTC)
- Tankbuster
- Other environmental variables are; rain, night, wind, daytime, meadows, trees, houses, forest, sea, coast, altitudeGround. alititudeSea, shooting, deadbody and fog