getAudioOptionVolumes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
|gr1= Sounds
|gr1= Sounds


|descr= Returns profile audio volumes. Arma 2.10 added UI channel
|descr= Returns profile audio volumes. Arma 3 2.10 added UI channel, Arma 3 2.12 added map factor


|s1= [[getAudioOptionVolumes]]
|s1= [[getAudioOptionVolumes]]


|r1= [[Array]] - [effects, music, radio, von, UI]
|r1= [[Array]] - [effects, music, radio, von, UI, map] where:
* effects [[Number]] - fx volume factor
* music [[Number]] - music volume factor
* radio [[Number]] - speech volume factor
* von [[Number]] - von volume factor
* UI [[Number]] - UI volume factor
* map [[Number]] - map volume factor


|x1= <sqf>getAudioOptionVolumes params ["_effects", "_music", "_radio", "_von", "_UI"];</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]]
}}
}}

Revision as of 17:44, 14 January 2023

Hover & click on the images for description

Description

Description:
Returns profile audio volumes. Arma 3 2.10 added UI channel, Arma 3 2.12 added map factor
Groups:
Sounds

Syntax

Syntax:
getAudioOptionVolumes
Return Value:
Array - [effects, music, radio, von, UI, map] where:
  • effects Number - fx volume factor
  • music Number - music volume factor
  • radio Number - speech volume factor
  • von Number - von volume factor
  • UI Number - UI volume factor
  • 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