fadeEnvironment

From Bohemia Interactive Community
Jump to navigation Jump to search
Arma 32.03DEV BRANCH ONLY ⚠Effect is local to the client
Hover & click on the images for descriptions

Description

Description:
Causes a smooth change in the master volume of the environment and is different from enableEnvironment global mute option. The change duration is given by time, the target volume by volume. The default volume is 1.0.

Syntax

Syntax:
time fadeEnvironment volume
Parameters:
time: Number - fade interval in seconds
volume: Number - speech volume range 0 to 1. Maximum volume is 1. Default is 1.
Return Value:
Nothing

Examples

Example 1:
5 fadeEnvironment 0.1;

Additional Information

See also:
environmentVolumefadeSpeechfadeRadiofadeSoundfadeMusicsoundVolumemusicVolumeradioVolumespeechVolumeenableEnvironmentenvironmentEnabled
Groups:
Sounds

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.