BIS fnc EXP camp playSubtitles: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
Lou Montana (talk | contribs) m (Text replacement - "<tt>([a-zA-Z0-9\. _"\\']+)<\/tt>" to "{{hl|$1}}") |
||
Line 7: | Line 7: | ||
|descr= Displays the given subtitles at the correctly defined moments. Each array added to the parameters represents one subtitle. | |descr= Displays the given subtitles at the correctly defined moments. Each array added to the parameters represents one subtitle. | ||
{{Feature | Informative | Subtitles can be cancel by setting | {{Feature | Informative | Subtitles can be cancel by setting {{hl|BIS_fnc_EXP_camp_playSubtitles_terminate}} to [[true]].}} | ||
|s1=[subtitleDetail1, subtitleDetail2, ...] spawn [[BIS_fnc_EXP_camp_playSubtitles]] | |s1=[subtitleDetail1, subtitleDetail2, ...] spawn [[BIS_fnc_EXP_camp_playSubtitles]] |
Revision as of 23:54, 15 November 2021
Description
- Description:
- Displays the given subtitles at the correctly defined moments. Each array added to the parameters represents one subtitle.
- Execution:
- spawn
- Groups:
- GUI
Syntax
- Syntax:
- [subtitleDetail1, subtitleDetail2, ...] spawn BIS_fnc_EXP_camp_playSubtitles
- Parameters:
- subtitleDetailN: Array - format [speaker, text, timing]:
- Return Value:
- Boolean - true if successful, 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 between them
Additional Information
- See also:
- Conversations BIS_fnc_showSubtitle
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