environmentEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Update)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns status of [[enableEnvironment]] command |= Description
| Returns status of [[enableEnvironment]] command |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''environmentEnabled'''  |= Syntax
| '''environmentEnabled'''  |SYNTAX=


| [[Array]] in format [ambientLife, ambientSound] where:
| [[Array]] in format [ambientLife, ambientSound] where:
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_enabled = [[environmentEnabled]];</code>  |= Example 1
|x1= <code>_enabled = [[environmentEnabled]];</code>  |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[enableEnvironment]], [[initAmbientLife]], [[sideAmbientLife]], [[getAllEnvSoundControllers]], [[getEnvSoundController]], [[setSoundEffect]]|= See also
| [[enableEnvironment]], [[initAmbientLife]], [[sideAmbientLife]], [[getAllEnvSoundControllers]], [[getEnvSoundController]], [[setSoundEffect]]|SEEALSO=


}}
}}

Revision as of 15:38, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns status of enableEnvironment command
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_enabled = environmentEnabled;

Additional Information

See also:
enableEnvironmentinitAmbientLifesideAmbientLifegetAllEnvSoundControllersgetEnvSoundControllersetSoundEffect

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

Notes

Bottom Section