soundVolume: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(13 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|SOUNDVOLUME]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SOUNDVOLUME]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SOUNDVOLUME]]
[[Category:Scripting Commands ArmA|SOUNDVOLUME]]


| ofp |= Game name


<h2 style="color:#000066">'''soundVolume'''</h2>
|1.00|= Game version
____________________________________________________________________________________________


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


'''Operand types:'''
| '''soundVolume''' |= Syntax


None.
| [[Number]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>[[hint]] [[str]] [[soundVolume]];</code> |= Example 1
____________________________________________________________________________________________


'''Type of returned value:'''
| [[fadeSound]], [[musicVolume]], [[radioVolume]] |= See also


[[Number]]
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Check current sound volume (set by [[setSoundVolume]]).
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
[[Category:Scripting Commands|SOUNDVOLUME]]
 
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
_vol = '''soundVolume '''
[[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