BIS fnc EXP camp playSubtitles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " {{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.62|= Game version _______________...")
 
No edit summary
Line 32: Line 32:
   ["Speaker3","Subtitle3",10],  
   ["Speaker3","Subtitle3",10],  
   ["Speaker4","Subtitle5",15]  
   ["Speaker4","Subtitle5",15]  
] [[spawn]] [[BIS_fnc_EXP_camp_playSubtitles]]; //Displays 4 subtiltles, with 5 seconds in between them</code> |= Example 2
] [[spawn]] [[BIS_fnc_EXP_camp_playSubtitles]]; //Displays 4 subtitles, with 5 seconds in between them</code> |= Example 2


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 11:14, 31 July 2016


Hover & click on the images for description

Description

Description:
Displays the given subtitles at the correctly defined moments. Each array added to the parameters represents one subtitle. Template:note
Execution:
spawn
Groups:
Uncategorised

Syntax

Syntax:
[ [Array] ] spawn BIS_fnc_EXP_camp_playSubtitles;
Parameters:
Array Array - Array containing all infos for the first subtitle
Array select 0 String - Name of the speaker
Array select 1 String - Subtitle
Array select 2 Number - Time at which the subtitle is played
Return Value:
Bool - True if sucessful, false if not

Examples

Example 1:
[ ["CROSSROAD","Mission is a go, I repeat, mission is a go! Crossroad, out.",0] ] spawn BIS_fnc_EXP_camp_playSubtitles;//Shows a subtitle immediately
Example 2:
[ ["Speaker1","Subtitle1",0], ["Speaker2","Subtitle2",5], ["Speaker3","Subtitle3",10], ["Speaker4","Subtitle5",15] ] spawn BIS_fnc_EXP_camp_playSubtitles; //Displays 4 subtitles, with 5 seconds in between them

Additional Information

See also:
See also needed

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