Arma 3 Scripting

Command in Sounds

fadeMusic

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

Description

Changes the current music volume to the given value smoothly within the given time.

Note

The player's in-game setting is not changed by this command: Final Volume = Client Setting * Scripted Volume.

Syntax

time fadeMusic volume

Parameters:

Returns: Nothing

Examples

Example 1

5 fadeMusic 0; // fade current music volume to 0 in 5 sec

See also

fadeSound · fadeRadio · fadeSpeech · fadeEnvironment · environmentVolume · musicVolume · soundVolume · radioVolume