environmentVolume: Difference between revisions

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


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


|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>


| [[fadeEnvironment]], [[musicVolume]], [[soundVolume]][[radioVolume]], [[speechVolume]], [[environmentVolume]], [[getAudioOptionVolumes]], [[environmentEnabled]]
|seealso= [[fadeEnvironment]] [[musicVolume]] [[soundVolume]] [[radioVolume]] [[speechVolume]] [[getAudioOptionVolumes]] [[environmentEnabled]]
}}
}}
[[Category:Scripting Commands|SPEECHVOLUME]]
{{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