environmentEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.68|Game version=
|1.68


|gr1= Environment |GROUP1=
|gr1= Environment


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


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


| [[Array]] in format [ambientLife, ambientSound] where:
| [[Array]] in format [ambientLife, ambientSound] where:
Line 15: Line 15:
* ambientSound: [[Boolean]]
* ambientSound: [[Boolean]]
   
   
|x1= <code>_enabled = [[environmentEnabled]];</code> |EXAMPLE1=
|x1= <code>_enabled = [[environmentEnabled]];</code>


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


}}
}}

Revision as of 01:37, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns status of enableEnvironment command
Groups:
Environment

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