getAudioOptionVolumes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Some wiki formatting)
 
Line 10: Line 10:
|s1= [[getAudioOptionVolumes]]
|s1= [[getAudioOptionVolumes]]


|r1= [[Array]] - [effects, music, radio, von, UI, map] where:
|r1= [[Array]] of [[Number]]s - [effects, music, radio, von, UI, map], where:
* effects [[Number]] - fx volume factor  
* effects: [[Number]] - fx volume factor  
* music [[Number]] - music volume factor
* music: [[Number]] - music volume factor
* radio [[Number]] - speech volume factor
* radio: [[Number]] - speech volume factor
* von [[Number]] - von volume factor
* von: [[Number]] - Voice over Network (VoN) volume factor
* {{GVI|arma3|2.10|size= 0.75}} UI [[Number]] - UI volume factor
* {{GVI|arma3|2.10|size= 0.75}} UI: [[Number]] - UI volume factor
* {{GVI|arma3|2.12|size= 0.75}} map [[Number]] - map volume factor
* {{GVI|arma3|2.12|size= 0.75}} map: [[Number]] - map volume factor


|x1= <sqf>getAudioOptionVolumes params ["_effects", "_music", "_radio", "_von", "_UI", "_map"];</sqf>
|x1= <sqf>getAudioOptionVolumes params ["_effects", "_music", "_radio", "_von", "_ui", "_map"];</sqf>


|seealso= [[getSubtitleOptions]] [[soundVolume]] [[musicVolume]] [[radioVolume]] [[setPlayerVoNVolume]] [[getPlayerVoNVolume]]
|seealso= [[getSubtitleOptions]] [[soundVolume]] [[musicVolume]] [[radioVolume]] [[setPlayerVoNVolume]] [[getPlayerVoNVolume]]
}}
}}

Latest revision as of 12:34, 18 January 2023

Hover & click on the images for description

Description

Description:
Returns profile audio volumes.
Groups:
Sounds

Syntax

Syntax:
getAudioOptionVolumes
Return Value:
Array of Numbers - [effects, music, radio, von, UI, map], where:
  • effects: Number - fx volume factor
  • music: Number - music volume factor
  • radio: Number - speech volume factor
  • von: Number - Voice over Network (VoN) volume factor
  • Arma 3 logo black.png2.10 UI: Number - UI volume factor
  • Arma 3 logo black.png2.12 map: Number - map volume factor

Examples

Example 1:
getAudioOptionVolumes params ["_effects", "_music", "_radio", "_von", "_ui", "_map"];

Additional Information

See also:
getSubtitleOptions soundVolume musicVolume radioVolume setPlayerVoNVolume getPlayerVoNVolume

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