Arma 3 Scripting

fadeMusic

  • Local effect
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · 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