fadeMusic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add to sounds com group)
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| time '''fadeMusic''' volume |= Syntax
| seconds '''fadeMusic''' volume |= Syntax


|p1= time: [[Number]] - the time in seconds |= Parameter 1
|p1= seconds: [[Number]] |= Parameter 1


|p2= volume: [[Number]] - music volume range 0 to 1. 0 is silent, 1 is the loudest. 0.5 is set by default. |= Parameter 2
|p2= volume: [[Number]] - music volume range 0 to 1. 0 is silent, 1 is the loudest. 0.5 is set by default. |= Parameter 2

Revision as of 10:14, 4 September 2007

Hover & click on the images for description

Description

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

Syntax

Syntax:
seconds fadeMusic volume
Parameters:
seconds: Number
volume: Number - music volume range 0 to 1. 0 is silent, 1 is the loudest. 0.5 is set by default.
Return Value:
Nothing

Examples

Example 1:
5 fadeMusic 0

Additional Information

See also:
fadeSound

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section