enableEnvironment

From Bohemia Interactive Community
Revision as of 01:10, 7 February 2021 by Lou Montana (talk | contribs) (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Jump to navigation Jump to search
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