enableEnvironment: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
m (Text replacement - "{{Inline code|" to "{{ic|") |
||
Line 11: | Line 11: | ||
| Enable/disable environmental effects: ambient life and/or ambient sound. | | Enable/disable environmental effects: ambient life and/or ambient sound. | ||
{{Feature | Informative | This command has to be executed after mission start: be sure to use e.g {{ | {{Feature | Informative | This command has to be executed after mission start: be sure to use e.g {{ic|[[waitUntil]] { [[time]] > 0 }<nowiki/>}} or [[sleep]] for it to take effect.}} | ||
| [[enableEnvironment]] enabled | | [[enableEnvironment]] enabled |
Revision as of 18:11, 27 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:
- environmentEnabledfadeEnvironmentenvironmentVolumeinitAmbientLifesideAmbientLifegetAllEnvSoundControllersgetEnvSoundControllersetSoundEffectArma 3 Animals: Ambient System
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