environmentEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 18: Line 18:
|x1= <code>_enabled = [[environmentEnabled]];</code>
|x1= <code>_enabled = [[environmentEnabled]];</code>


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

Revision as of 16:56, 20 January 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] where:

Examples

Example 1:
_enabled = environmentEnabled;

Additional Information

See also:
enableEnvironment fadeEnvironment environmentVolume initAmbientLife sideAmbientLifegetAllEnvSoundControllersgetEnvSoundControllersetSoundEffect

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