getSubtitleOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(stable)
m (Some wiki formatting)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game=
|game1= arma3
|version1= 1.94


|1.94|Game Version =(number surrounded by NO SPACES)
|gr1= Radio and Chat


|arg= |Multiplayer Arguments =("local" or "global")
|descr= Returns subtitles settings.


|eff= |Multiplayer Effects =("local" or "global")
|s1= [[getSubtitleOptions]]


|exec= |Multiplayer Execution =("server" or empty)
|r1= [[Array]] of [[Boolean]]s - options in format [subtitlesEnabled, radioSubtitlesEnabled]
____________________________________________________________________________________________


| Returns subtitles settings in format [subtitles, radio subtitles]. |Description=
|x1= <sqf>private _subtitleSettings = getSubtitleOptions;</sqf>
____________________________________________________________________________________________


| [[getSubtitleOptions]] |Syntax=
|seealso= [[getAudioOptionVolumes]] [[soundVolume]] [[musicVolume]] [[radioVolume]] [[radioEnabled]] [[shownSubtitles]]
 
| Array |Return Value=
____________________________________________________________________________________________
 
|x1= <code>_subtitleSettings = [[getSubtitleOptions]];</code> |Example 1=
____________________________________________________________________________________________
 
|mp= - |Multiplayer Behaviour=
 
| [[getAudioOptionVolumes]] [[soundVolume]] [[musicVolume]] [[radioVolume]] |See Also=
}}
}}
<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 -->
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 15:55, 3 May 2022

Hover & click on the images for description

Description

Description:
Returns subtitles settings.
Groups:
Radio and Chat

Syntax

Syntax:
getSubtitleOptions
Return Value:
Array of Booleans - options in format [subtitlesEnabled, radioSubtitlesEnabled]

Examples

Example 1:
private _subtitleSettings = getSubtitleOptions;

Additional Information

See also:
getAudioOptionVolumes soundVolume musicVolume radioVolume radioEnabled shownSubtitles

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