environmentEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>")
No edit summary
Line 12: Line 12:
|s1= [[environmentEnabled]]
|s1= [[environmentEnabled]]


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


|x1= <sqf>_enabled = environmentEnabled;</sqf>
|x1= <sqf>_enabled = environmentEnabled;</sqf>

Revision as of 21:57, 29 November 2022

Hover & click on the images for description

Description

Description:
Returns status of enableEnvironment command
Groups:
EnvironmentSounds

Syntax

Syntax:
environmentEnabled
Return Value:
Array in format [ambientLife, ambientSound, windyCoef] where:

Examples

Example 1:
_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 or on the Forums.
Only post proven facts here! Add Note