soundVolume: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
mNo edit summary
 
Line 28: Line 28:
|s1= '''soundVolume'''
|s1= '''soundVolume'''


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


|x1= <sqf>hint str soundVolume;</sqf>
|x1= <sqf>hint str soundVolume;</sqf>

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