showSubtitles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "|r1=$1 |x1=")
m (Text replacement - "\| *p([0-9]+) *=([^↵]+) -↵" to "|p$1=$2")
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 17: Line 17:
|gr1= Radio and Chat
|gr1= Radio and Chat


| Enables / disables showing of subtitles in a chat. Only scripted/engine chatter is affected, player manual chat is unaffected. Returns the previous state.
|descr= Enables / disables showing of subtitles in a chat. Only scripted/engine chatter is affected, player manual chat is unaffected. Returns the previous state.


| '''showSubtitles''' enable
|s1= [[showSubtitles]] enable
 
|p1= enable: [[Boolean]] -


|p1= enable: [[Boolean]]
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <code>[[showSubtitles]] [[false]];</code>
|x1= <sqf>showSubtitles false;</sqf>


|seealso= [[shownSubtitles]], [[setSpeaker]], [[disableConversation]], [[enableRadio]], [[enableSentences]]
|seealso= [[shownSubtitles]] [[setSpeaker]] [[disableConversation]] [[enableRadio]] [[enableSentences]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 11:51, 26 March 2024

Hover & click on the images for description

Description

Description:
Enables / disables showing of subtitles in a chat. Only scripted/engine chatter is affected, player manual chat is unaffected. Returns the previous state.
Groups:
Radio and Chat

Syntax

Syntax:
showSubtitles enable
Parameters:
enable: Boolean
Return Value:
Boolean

Examples

Example 1:
showSubtitles false;

Additional Information

See also:
shownSubtitles setSpeaker disableConversation enableRadio enableSentences

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