BIS fnc showSubtitle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - "\|s([0-9])= ([^ ]+) (\[\[spawn\]\]) ([^ ]+) " to "|s$1= $2 spawn $4 ")
Line 9: Line 9:
{{Feature | Informative | If you want to play more subtitles, or want them to be played at a certain time, it might be easier to use [[BIS_fnc_EXP_camp_playSubtitles]].}}
{{Feature | Informative | If you want to play more subtitles, or want them to be played at a certain time, it might be easier to use [[BIS_fnc_EXP_camp_playSubtitles]].}}


|s1= [name, subtitle] [[spawn]] [[BIS_fnc_showSubtitle]]
|s1= [name, subtitle] spawn [[BIS_fnc_showSubtitle]]


|p1= name: [[String]] - name of the speaker
|p1= name: [[String]] - name of the speaker

Revision as of 19:19, 20 June 2021

Hover & click on the images for description

Description

Description:
Displays a subtitle at the bottom of the screen.
If you want to play more subtitles, or want them to be played at a certain time, it might be easier to use BIS_fnc_EXP_camp_playSubtitles.
Execution:
spawn
Groups:
GUI

Syntax

Syntax:
[name, subtitle] spawn BIS_fnc_showSubtitle
Parameters:
name: String - name of the speaker
subtitle: String - subtitle to display
Return Value:
Script - Script controlling the displayed subtitle.

Examples

Example 1:
["CROSSROAD", "Mission is a go, I repeat, mission is a go, Crossroad, out."] spawn BIS_fnc_showSubtitle;

Additional Information

See also:
Conversations BIS_fnc_EXP_camp_playSubtitles

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