soundVolume: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
mNo edit summary
 
(4 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]]
}}
}}

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