enableEnvironment: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
Line 11: | Line 11: | ||
| Enable/disable environmental effects: ambient life and/or ambient sound. | | Enable/disable environmental effects: ambient life and/or ambient sound. | ||
{{Informative | This command has to be executed after mission start: be sure to use e.g {{Inline code|[[waitUntil]] { [[time]] > 0 }<nowiki/>}} or [[sleep]] for it to take effect.}} | {{Feature | Informative | This command has to be executed after mission start: be sure to use e.g {{Inline code|[[waitUntil]] { [[time]] > 0 }<nowiki/>}} or [[sleep]] for it to take effect.}} | ||
| [[enableEnvironment]] enabled | | [[enableEnvironment]] enabled |
Revision as of 00:10, 7 February 2021
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