environmentEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Environment |GROUP1= | |gr1= Environment |GROUP1= | ||
| Returns status of [[enableEnvironment]] command |DESCRIPTION= | | Returns status of [[enableEnvironment]] command |DESCRIPTION= | ||
| '''environmentEnabled''' |SYNTAX= | | '''environmentEnabled''' |SYNTAX= | ||
Line 17: | Line 14: | ||
* ambientLife: [[Boolean]] | * ambientLife: [[Boolean]] | ||
* ambientSound: [[Boolean]] |= | * ambientSound: [[Boolean]] |= | ||
|x1= <code>_enabled = [[environmentEnabled]];</code> |EXAMPLE1= | |x1= <code>_enabled = [[environmentEnabled]];</code> |EXAMPLE1= | ||
| [[enableEnvironment]], [[initAmbientLife]], [[sideAmbientLife]], [[getAllEnvSoundControllers]], [[getEnvSoundController]], [[setSoundEffect]]|SEEALSO= | | [[enableEnvironment]], [[initAmbientLife]], [[sideAmbientLife]], [[getAllEnvSoundControllers]], [[getEnvSoundController]], [[setSoundEffect]]|SEEALSO= |
Revision as of 01:20, 17 January 2021
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