soundVolume: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\| *ofp * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= ofp |version1= $1 |game2")
mNo edit summary
 
(8 intermediate revisions by one other user not shown)
Line 28: Line 28:
|s1= '''soundVolume'''
|s1= '''soundVolume'''


|r1=[[Number]]
|r1= [[Number]] in range 0..1


|x1= <code>[[hint]] [[str]] [[soundVolume]];</code>
|x1= <sqf>hint str soundVolume;</sqf>


|seealso= [[fadeSound]], [[musicVolume]], [[radioVolume]], [[speechVolume]], [[environmentVolume]], [[getAudioOptionVolumes]]
|seealso= [[fadeSound]] [[musicVolume]] [[radioVolume]] [[speechVolume]] [[environmentVolume]] [[getAudioOptionVolumes]]
}}
}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 07:23, 1 January 2026

Hover & click on the images for description

Description

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

Syntax

Syntax:
soundVolume
Return Value:
Number in range 0..1

Examples

Example 1:
hint str soundVolume;

Additional Information

See also:
fadeSound musicVolume radioVolume speechVolume environmentVolume getAudioOptionVolumes

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note