getAllEnvSoundControllers: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) m (Killzone Kid moved page getEnvSoundControllers to getAllEnvSoundControllers: renamed in 137133) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ''' | | '''getAllEnvSoundControllers''' [[Position]] |= Syntax | ||
|p1 = position: [[Position]].|= | |p1 = position: [[Position]].|= | ||
| [[Array]] |= Return value | | [[Array]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code>[[ | |x1 = <code>[[getAllEnvSoundControllers]] ([[position]] [[player]]);</code> | ||
<pre>Result: | <pre>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]] | [["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]] |
Revision as of 19:50, 22 June 2016
Description
- Description:
- Returns Array of names and values of environmental variables that can be used in simple expressions when configuring sounds.
- Groups:
- Uncategorised
Syntax
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