fadeMusic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
|x1= <code>5 [[fadeMusic]] 0; // fade current music volume to 0 in 5 sec</code>
|x1= <code>5 [[fadeMusic]] 0; // fade current music volume to 0 in 5 sec</code>


| [[fadeSound]], [[fadeRadio]], [[fadeSpeech]], [[musicVolume]], [[soundVolume]], [[radioVolume]]
| [[fadeSound]], [[fadeRadio]], [[fadeSpeech]], [[fadeEnvironment]], [[environmentVolume]], [[musicVolume]], [[soundVolume]], [[radioVolume]]
}}
}}



Revision as of 13:16, 1 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Sounds

Syntax

Syntax:
Syntax needed
Parameters:
time: Number - fade interval in seconds
volume: Number - music volume range 0 to 5. Maximum volume is 5. Default is 0.5.
Return Value:
Return value needed

Examples

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

Additional Information

See also:
See also needed

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