fadeMusic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
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]], [[fadeEnvironment]], [[environmentVolume]], [[musicVolume]], [[soundVolume]], [[radioVolume]]
|seealso= [[fadeSound]], [[fadeRadio]], [[fadeSpeech]], [[fadeEnvironment]], [[environmentVolume]], [[musicVolume]], [[soundVolume]], [[radioVolume]]
}}
}}



Revision as of 23:43, 16 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:
fadeSoundfadeRadiofadeSpeechfadeEnvironmentenvironmentVolumemusicVolumesoundVolumeradioVolume

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