BIS fnc showSubtitle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Fix Script link) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= GUI | |gr1= GUI | ||
| Displays a subtitle at the bottom of the screen. | |descr= Displays a subtitle at the bottom of the screen. | ||
{{Feature | | {{Feature|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] | |s1= [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 | ||
|r1=[[Script]] - | |r1= [[Script Handle]] - script controlling the displayed subtitle. | ||
|x1= < | |x1= <sqf>["CROSSROAD", "Mission is a go, I repeat, mission is a go, Crossroad, out."] spawn BIS_fnc_showSubtitle;</sqf> | ||
|exec= spawn | |exec= spawn | ||
|seealso= [[Conversations]] [[BIS_fnc_EXP_camp_playSubtitles]] | |seealso= [[Conversations]] [[BIS_fnc_EXP_camp_playSubtitles]] | ||
}} | }} | ||
Latest revision as of 10:02, 29 December 2022
Description
Syntax
- Syntax:
- [name, subtitle] spawn BIS_fnc_showSubtitle
- Parameters:
- name: String - name of the speaker
- subtitle: String - subtitle to display
- Return Value:
- Script Handle - 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