BIS fnc EXP camp playSubtitles: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 17: | Line 17: | ||
* timing: [[Number]] - Time at which the subtitle is played | * timing: [[Number]] - Time at which the subtitle is played | ||
| [[Boolean]] - [[true]] if successful, [[false]] if not | |r1=[[Boolean]] - [[true]] if successful, [[false]] if not | ||
|x1= <code>[ | |x1= <code>[ |
Revision as of 20:27, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- spawn
- Groups:
- GUI
Syntax
- Syntax:
- Syntax needed
- 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