soundVolume: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
(5 intermediate revisions by 4 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [[Number]] <nowiki>=</nowiki> '''soundVolume''' |= Syntax
| '''soundVolume''' |SYNTAX=


| [[Number]] |= Return value
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_vol = soundVolume</pre> |= Example 1
|x1= <code>[[hint]] [[str]] [[soundVolume]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}
Line 31: Line 31:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SOUNDVOLUME]]
[[Category:Scripting Commands|SOUNDVOLUME]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SOUNDVOLUME]]
[[Category:Scripting Commands OFP 1.96|SOUNDVOLUME]]
[[Category:Scripting Commands OFP 1.46|SOUNDVOLUME]]
[[Category:Scripting Commands OFP 1.46|SOUNDVOLUME]]
Line 37: Line 38:
[[Category:Command_Group:_Sounds|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Sounds|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:49, 7 April 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