fadeMusic: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|eff= local |= Effects in MP | |||
____________________________________________________________________________________________ | |||
| Changes the music volume smoothly within the given time. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | time '''fadeMusic''' volume |= Syntax | ||
|p1= time: [[Number]] - the time in seconds |= 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 | |||
[[Nothing]] | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>5 fadeMusic 0</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[fadeSound]] |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|FADEMUSIC]] | |||
[[Category:Scripting Commands OFP 1.96|FADEMUSIC]] | |||
[[Category:Scripting Commands OFP 1.46|FADEMUSIC]] | |||
[[Category:Scripting Commands ArmA|FADEMUSIC]] | |||
Revision as of 00:07, 2 August 2006
Description
- Description:
- Changes the music volume smoothly within the given time.
- Groups:
- Uncategorised
Syntax
- Syntax:
- time fadeMusic volume
- Parameters:
- time: Number - the time in seconds
- 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