environmentEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.68
|1.68


|gr1= Environment
|gr1= Environment


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


| '''environmentEnabled'''
|s1= [[environmentEnabled]]


| [[Array]] in format [ambientLife, ambientSound] where:
|r1= [[Array]] in format [ambientLife, ambientSound] where:
* ambientLife: [[Boolean]]  
* ambientLife: [[Boolean]]  
* ambientSound: [[Boolean]]
* ambientSound: [[Boolean]]

Revision as of 14:37, 13 June 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:
enableEnvironmentfadeEnvironmentenvironmentVolumeinitAmbientLifesideAmbientLifegetAllEnvSoundControllersgetEnvSoundControllersetSoundEffect

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