fadeMusic

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.00
  Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Changes the music volume smoothly within the given time.

Syntax

Syntax:
time fadeMusic volume
Parameters:
time: Number in seconds
volume: Number - music volume range 0 to 1. Maximum volume is 1. Default is 0.5.
Return Value:
Nothing

Examples

Example 1:
5 fadeMusic 0

Additional Information

Multiplayer:
-
See also:
fadeSound

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section