environmentEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
 
(5 intermediate revisions by 2 users not shown)
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]]
* {{GVI|arma3|2.12|size= 0.75}} windyCoef: [[Number]] - see [[enableEnvironment]]


|x1= <code>_enabled = [[environmentEnabled]];</code>
|x1= <sqf>private _enabled = environmentEnabled;</sqf>


|seealso= [[enableEnvironment]] [[fadeEnvironment]] [[environmentVolume]] [[initAmbientLife]] [[sideAmbientLife]] [[getAllEnvSoundControllers]], [[getEnvSoundController]], [[setSoundEffect]]
|seealso= [[enableEnvironment]] [[fadeEnvironment]] [[environmentVolume]] [[initAmbientLife]] [[sideAmbientLife]] [[getAllEnvSoundControllers]] [[getEnvSoundController]] [[setSoundEffect]]
}}
}}

Latest revision as of 15:32, 17 April 2023

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