soundVolume: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
(19 intermediate revisions by 11 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#S|COMREF]]
{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''soundVolume'''</h2>
| ofp |= Game name


|1.00|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Returns the current sound volume (set by [[fadeSound]]). |= Description
____________________________________________________________________________________________


None.
| '''soundVolume''' |= Syntax


'''Type of returned value:'''
| [[Number]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>[[hint]] [[str]] [[soundVolume]];</code> |= Example 1
____________________________________________________________________________________________


[[Number]]
| [[fadeSound]], [[musicVolume]], [[radioVolume]] |= See also


'''Description:'''
}}


Check current sound volume (set by [[fadeSound]]).
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SOUNDVOLUME]]
_vol = '''soundVolume '''
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SOUNDVOLUME]]
[[Category:Scripting Commands OFP 1.46|SOUNDVOLUME]]
[[Category:Scripting Commands ArmA|SOUNDVOLUME]]
[[Category:Scripting Commands ArmA2|SOUNDVOLUME]]
[[Category:Command_Group:_Sounds|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 00:05, 18 January 2019

Hover & click on the images for description

Description

Description:
Returns the current sound volume (set by fadeSound).
Groups:
Uncategorised

Syntax

Syntax:
soundVolume
Return Value:
Number

Examples

Example 1:
hint str soundVolume;

Additional Information

See also:
fadeSoundmusicVolumeradioVolume

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

Notes

Bottom Section