fadeMusic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
No edit summary
Line 15: Line 15:
|p1= time: [[Number]]  - fade interval in seconds
|p1= time: [[Number]]  - fade interval in seconds


|p2= volume: [[Number]] - music volume range 0 to 1. Maximum volume is 1. Default is 0.5.
|p2= volume: [[Number]] - music volume range 0 to 5. Maximum volume is 5. Default is 0.5.


| [[Nothing]]
| [[Nothing]]

Revision as of 13:06, 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