getSubtitleOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <!-- BEGIN Note Section --> <!-- For example: <dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd> <dt class="note">User Name</dt> <dd class="note">This is an example n...)
m (Some wiki formatting)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


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


|gr1= Radio and Chat
|gr1= Radio and Chat


| Returns subtitles settings.
|descr= Returns subtitles settings.


| [[getSubtitleOptions]]
|s1= [[getSubtitleOptions]]


| [[Array]] - Options in format [subtitles enabled, radio subtitles enabled]
|r1= [[Array]] of [[Boolean]]s - options in format [subtitlesEnabled, radioSubtitlesEnabled]


|x1= <code>_subtitleSettings = [[getSubtitleOptions]];</code>
|x1= <sqf>private _subtitleSettings = getSubtitleOptions;</sqf>


|seealso= [[getAudioOptionVolumes]] [[soundVolume]] [[musicVolume]] [[radioVolume]]
|seealso= [[getAudioOptionVolumes]] [[soundVolume]] [[musicVolume]] [[radioVolume]] [[radioEnabled]] [[shownSubtitles]]
}}
}}
{{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