environmentEnabled: Difference between revisions
Lou Montana (talk | contribs) |
BrettMayson (talk | contribs) mNo edit summary |
||
| (11 intermediate revisions by 3 users not shown) | |||
| Line 12: | Line 12: | ||
|s1= [[environmentEnabled]] | |s1= [[environmentEnabled]] | ||
|r1= [[Array]] | |r1= [[Array]] with [ambientLife, ambientSound, windyCoef] | ||
* ambientLife: [[Boolean]] | * ambientLife: [[Boolean]] | ||
* ambientSound: [[Boolean]] | * ambientSound: [[Boolean]] | ||
* {{GVI|arma3|2.12|size= 0.75}} windyCoef: [[Number]] - see [[enableEnvironment]] | |||
|x1= < | |x1= <sqf>private _enabled = environmentEnabled;</sqf> | ||
|seealso= [[enableEnvironment]] [[fadeEnvironment]] | |seealso= [[enableEnvironment]] [[fadeEnvironment]] [[environmentVolume]] [[initAmbientLife]] [[sideAmbientLife]] [[getAllEnvSoundControllers]] [[getEnvSoundController]] [[setSoundEffect]] | ||
}} | }} | ||
Latest revision as of 11:02, 2 January 2026
Description
- Description:
- Returns status of enableEnvironment command
- Groups:
- EnvironmentSounds
Syntax
- Syntax:
- environmentEnabled
- Return Value:
- Array with [ambientLife, ambientSound, windyCoef]
- ambientLife: Boolean
- ambientSound: Boolean
2.12 windyCoef: Number - see enableEnvironment
Examples
- Example 1:
Additional Information
- See also:
- enableEnvironment fadeEnvironment environmentVolume initAmbientLife sideAmbientLife getAllEnvSoundControllers getEnvSoundController setSoundEffect
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note