BIS fnc showSubtitle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Execution" to "|Execution=") |
Lou Montana (talk | contribs) m (Fix minor stuff) |
||
Line 9: | Line 9: | ||
| Displays a subtitle at the bottom of the screen. | | Displays a subtitle at the bottom of the screen. | ||
{{ | {{Informative | 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]]; | ||
|p1= | |p1= name: [[String]] - name of the speaker |PARAMETER1= | ||
|p2= | |p2= subtitle: [[String]] - subtitle to display |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]] | |x1= <code>["CROSSROAD", "Mission is a go, I repeat, mission is a go, Crossroad, out."] [[spawn]] [[BIS_fnc_showSubtitle]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|exec= spawn |Execution | |exec= spawn |Execution By (defaults to [[call]] if omitted)= | ||
| [[Conversations]] [[BIS_fnc_EXP_camp_playSubtitles]] |SEEALSO= | |||
}} | }} | ||
Revision as of 11:15, 25 March 2020
Description
- Description:
- Displays a subtitle at the bottom of the screen.
- Execution:
- spawn
- Groups:
- Uncategorised
Syntax
- Syntax:
- [name, subtitle] spawn BIS_fnc_showSubtitle;
- Parameters:
- name: String - name of the speaker
- subtitle: String - subtitle to display
- 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:
- Conversations 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