BIS fnc showSubtitle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:


{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:


|gr1 = GUI |GROUP1=
|gr1 = GUI |GROUP1=
____________________________________________________________________________________________


| Displays a subtitle at the bottom of the screen.
| Displays a subtitle at the bottom of the screen.
{{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]].}}
{{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]].}}
|DESCRIPTION=
|DESCRIPTION=
____________________________________________________________________________________________


| [name, subtitle] [[spawn]] [[BIS_fnc_showSubtitle]];
| [name, subtitle] [[spawn]] [[BIS_fnc_showSubtitle]];
Line 21: Line 18:


| [[Script]] - Script controlling the displayed subtitle. |= return
| [[Script]] - Script controlling the displayed subtitle. |= return
____________________________________________________________________________________________


|x1= <code>["CROSSROAD", "Mission is a go, I repeat, mission is a go, Crossroad, out."] [[spawn]] [[BIS_fnc_showSubtitle]];</code> |EXAMPLE1=
|x1= <code>["CROSSROAD", "Mission is a go, I repeat, mission is a go, Crossroad, out."] [[spawn]] [[BIS_fnc_showSubtitle]];</code> |EXAMPLE1=
____________________________________________________________________________________________


|exec= spawn |Execution By (defaults to [[call]] if omitted)=
|exec= spawn |Execution By (defaults to [[call]] if omitted)=

Revision as of 00:46, 17 January 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

Notes

Bottom Section