getSubtitleOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Some wiki formatting)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


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


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


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


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


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

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