getSubtitleOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(22 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 in format [subtitles, radio subtitles]. |Description=
|seealso= [[getAudioOptionVolumes]] [[soundVolume]] [[musicVolume]] [[radioVolume]] [[radioEnabled]] [[shownSubtitles]]
____________________________________________________________________________________________
 
| [[getSubtitleOptions]] |Syntax=
 
| Array |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 -->
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 16: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