getAudioOptionVolumes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
No edit summary
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.94
|1.94
 
|arg=
 
|eff=
 
|serverExec=


|gr1= Sounds
|gr1= Sounds


| Returns profile audio volumes in format [effects, music, radio, von].
|descr= Returns profile audio volumes. Arma 2.10 added UI channel


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


| [[Array]] - [effects, music, radio, von]
|r1= [[Array]] - [effects, music, radio, von, UI]


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


| [[getSubtitleOptions]] [[soundVolume]] [[musicVolume]] [[radioVolume]] [[setPlayerVoNVolume]] [[getPlayerVoNVolume]]
|seealso= [[getSubtitleOptions]] [[soundVolume]] [[musicVolume]] [[radioVolume]] [[setPlayerVoNVolume]] [[getPlayerVoNVolume]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|User Name]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
<!-- Appropriate categories go here -->
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 20:13, 10 May 2022

Hover & click on the images for description

Description

Description:
Returns profile audio volumes. Arma 2.10 added UI channel
Groups:
Sounds

Syntax

Syntax:
getAudioOptionVolumes
Return Value:
Array - [effects, music, radio, von, UI]

Examples

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

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