Arma 3 Scripting

Command in Environment, Sounds

environmentEnabled

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns status of enableEnvironment command

Syntax

environmentEnabled

Returns: Array with [ambientLife, ambientSound, windyCoef]

Examples

Example 1

private _enabled = environmentEnabled;

See also

enableEnvironment · fadeEnvironment · environmentVolume · initAmbientLife · sideAmbientLife · getAllEnvSoundControllers · getEnvSoundController · setSoundEffect