environmentVolume: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " | arma3dev | 2.04" to " | arma3 | 2.04")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3


| 2.04
|version1= 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= <code>[[hint]] [[str]] [[environmentVolume]];</code>


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

Revision as of 15:45, 27 April 2021

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

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