fadeSound: 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 sound volume smoothly within the given time. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | time '''fadeSound''' volume |= Syntax | ||
|p1= time: [[Number]] - the time in seconds |= Parameter 1 | |||
|p2= volume: [[Number]] - sound 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 fadeSound 0</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[fadeMusic]] |= 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|FADESOUND]] | |||
[[Category:Scripting Commands OFP 1.96|FADESOUND]] | |||
[[Category:Scripting Commands OFP 1.46|FADESOUND]] | |||
[[Category:Scripting Commands ArmA|FADESOUND]] |
Revision as of 00:08, 2 August 2006
Description
- Description:
- Changes the sound volume smoothly within the given time.
- Groups:
- Uncategorised
Syntax
- Syntax:
- time fadeSound volume
- Parameters:
- time: Number - the time in seconds
- volume: Number - sound 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 fadeSound 0
Additional Information
- See also:
- fadeMusic
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