getSubtitleOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Some wiki formatting)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


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


|1.94|Game Version =
|gr1= Radio and Chat


|arg=  |Multiplayer Arguments =
|descr= Returns subtitles settings.


|eff=  |Multiplayer Effects =
|s1= [[getSubtitleOptions]]


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


|gr1= Radio and Chat |GROUP1=
|x1= <sqf>private _subtitleSettings = getSubtitleOptions;</sqf>


| Returns subtitles settings. |Description=
|seealso= [[getAudioOptionVolumes]] [[soundVolume]] [[musicVolume]] [[radioVolume]] [[radioEnabled]] [[shownSubtitles]]
 
| [[getSubtitleOptions]] |Syntax=
 
| [[Array]] - Options in format [subtitles enabled, radio subtitles enabled] |Return Value=
 
|x1= <code>_subtitleSettings = [[getSubtitleOptions]];</code> |Example 1=
 
| [[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 -->
{{GameCategory|arma3|Scripting Commands}}
[[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