Arma 3 Scripting

Command in Sounds

fadeEnvironment

Also available as Markdown and JSON, or read the original wiki page.

Description

Changes the master environment volume smoothly within the given time and is different from enableEnvironment global mute option. The default volume is 1.

Influenced sounds, among others, are:

Syntax

time fadeEnvironment volume

Parameters:

Returns: Nothing

Examples

Example 1

5 fadeEnvironment 0.1;

See also

environmentVolume · fadeSpeech · fadeRadio · fadeSound · fadeMusic · soundVolume · musicVolume · radioVolume · speechVolume · enableEnvironment · environmentEnabled