environmentVolume: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|2.03 " to "| 2.04 ")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3dev
|game1= arma3
 
|version1= 2.04
| 2.04


|gr1= Sounds
|gr1= Sounds


| Returns the current environment volume (set by [[fadeEnvironment]])
|descr= Returns the current environment volume (set by [[fadeEnvironment]])


| '''environmentVolume'''
|s1= [[environmentVolume]]


| [[Number]]
|r1= [[Number]]


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


|seealso= [[fadeEnvironment]], [[musicVolume]], [[soundVolume]], [[radioVolume]], [[speechVolume]], [[getAudioOptionVolumes]], [[environmentEnabled]]
|seealso= [[fadeEnvironment]] [[musicVolume]] [[soundVolume]] [[radioVolume]] [[speechVolume]] [[getAudioOptionVolumes]] [[environmentEnabled]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 14:11, 5 May 2022

Hover & click on the images for description

Description

Description:
Returns the current environment volume (set by fadeEnvironment)
Groups:
Sounds

Syntax

Syntax:
environmentVolume
Return Value:
Number

Examples

Example 1:
hint str environmentVolume;

Additional Information

See also:
fadeEnvironment musicVolume soundVolume radioVolume speechVolume getAudioOptionVolumes environmentEnabled

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