BIS fnc showSubtitle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
Line 10: Line 10:
| Displays a subtitle at the bottom of the screen.
| Displays a subtitle at the bottom of the screen.
{{note|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]]}}
{{note|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]];


|p1= Name [[String]] - Name of the speaker |= Parameter 1
|p1= Name [[String]] - Name of the speaker |PARAMETER1=
|p2= Subtitle [[String]] - Subtitle |= Parameter 2
|p2= Subtitle [[String]] - Subtitle |PARAMETER2=


| [[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> |= Example 1
|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)


|[[BIS_fnc_EXP_camp_playSubtitles]]|= See also
|[[BIS_fnc_EXP_camp_playSubtitles]]|SEEALSO=





Revision as of 14:33, 7 April 2019


Hover & click on the images for description

Description

Description:
Displays a subtitle at the bottom of the screen. Template:note
Execution:
spawn
Groups:
Uncategorised

Syntax

Syntax:
[Name,Subtitle] spawn BIS_fnc_showSubtitle;
Parameters:
Name String - Name of the speaker
Subtitle String - Subtitle
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:
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