environmentEnabled: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
|s1= [[environmentEnabled]]
|s1= [[environmentEnabled]]


|r1= [[Array]] in format [ambientLife, ambientSound, windyCoef] where:
|r1= [[Array]] with [ambientLife, ambientSound, windyCoef]
* ambientLife: [[Boolean]]  
* ambientLife: [[Boolean]]  
* ambientSound: [[Boolean]]
* ambientSound: [[Boolean]]

Latest revision as of 11:02, 2 January 2026

Hover & click on the images for description

Description

Description:
Returns status of enableEnvironment command
Groups:
EnvironmentSounds

Syntax

Syntax:
environmentEnabled
Return Value:
Array with [ambientLife, ambientSound, windyCoef]

Examples

Example 1:
private _enabled = environmentEnabled;

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