BIS fnc EXP camp playSubtitles: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
Line 8: | Line 8: | ||
| Displays the given subtitles at the correctly defined moments. Each array added to the parameters represents one subtitle. | | Displays the given subtitles at the correctly defined moments. Each array added to the parameters represents one subtitle. | ||
{{Informative | Subtitles can be cancel by setting <tt>BIS_fnc_EXP_camp_playSubtitles_terminate</tt> to [[true]].}} | {{Feature | Informative | Subtitles can be cancel by setting <tt>BIS_fnc_EXP_camp_playSubtitles_terminate</tt> to [[true]].}} | ||
| [subtitleDetail1, subtitleDetail2, ...] spawn [[BIS_fnc_EXP_camp_playSubtitles]] | | [subtitleDetail1, subtitleDetail2, ...] spawn [[BIS_fnc_EXP_camp_playSubtitles]] |
Revision as of 00:03, 7 February 2021
Description
- Description:
- Description needed
- Execution:
- spawn
- Groups:
- GUI
Syntax
- Syntax:
- Syntax needed
- Parameters:
- subtitleDetailN: Array - format [speaker, text, timing]:
- Return Value:
- Return value needed
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:
- 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