BIS fnc showSubtitle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "^ \{\{(Command|Function)" to "{{$1") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = GUI | |gr1 = GUI | ||
| 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]].}} | {{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]].}} | ||
| [name, subtitle] [[spawn]] [[BIS_fnc_showSubtitle]]; | | [name, subtitle] [[spawn]] [[BIS_fnc_showSubtitle]]; | ||
|p1= name: [[String]] - name of the speaker | |p1= name: [[String]] - name of the speaker | ||
|p2= subtitle: [[String]] - subtitle to display | |p2= subtitle: [[String]] - subtitle to display | ||
| [[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]] [[BIS_fnc_showSubtitle]];</code> | |x1= <code>["CROSSROAD", "Mission is a go, I repeat, mission is a go, Crossroad, out."] [[spawn]] [[BIS_fnc_showSubtitle]];</code> | ||
|exec= spawn |Execution By (defaults to [[call]] if omitted)= | |exec= spawn |Execution By (defaults to [[call]] if omitted)= | ||
| [[Conversations]] [[BIS_fnc_EXP_camp_playSubtitles]] | | [[Conversations]] [[BIS_fnc_EXP_camp_playSubtitles]] | ||
}} | }} | ||
Revision as of 23:45, 17 January 2021
Description
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