enableEnvironment: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 21: Line 21:
|s2= [[enableEnvironment]] [ambientLife, ambientSound] {{Since|arma3|1.67|y}}
|s2= [[enableEnvironment]] [ambientLife, ambientSound] {{Since|arma3|1.67|y}}


|p21= ambientLife: [[Boolean]] - ambient life setting (bees, rabbits, birds, snakes, fish) |PARAMETER21=
|p21= ambientLife: [[Boolean]] - ambient life setting (bees, rabbits, birds, snakes, fish)


|p22= ambientSound: [[Boolean]] - ambient sounds setting (cicadas, owls, etc) |PARAMETER22=
|p22= ambientSound: [[Boolean]] - ambient sounds setting (cicadas, owls, etc)


|r2= [[Nothing]]
|r2= [[Nothing]]

Revision as of 19:11, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Environment

Syntax

Syntax:
Syntax needed
Parameters:
enabled: Boolean - ambient life and ambient sounds setting
Return Value:
Return value needed

Alternative Syntax

Syntax:
enableEnvironment [ambientLife, ambientSound] Template:Since
Parameters:
ambientLife: Boolean - ambient life setting (bees, rabbits, birds, snakes, fish)
ambientSound: Boolean - ambient sounds setting (cicadas, owls, etc)
Return Value:
Nothing

Examples

Example 1:
enableEnvironment false; // identical to enableEnvironment [false, false]
Example 2:
enableEnvironment [false, true];

Additional Information

See also:
See also needed

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