BIS fnc showSubtitle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Fix Script link)
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|Comments=
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |Game name=
|gr1= GUI


|1.00|= Game version
|descr= Displays a subtitle at the bottom of the screen.
____________________________________________________________________________________________
{{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]].}}


| Displays a subtitle at the bottom of the screen.
|s1= [name, subtitle] spawn [[BIS_fnc_showSubtitle]]
{{note|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=
____________________________________________________________________________________________


| [Name,Subtitle] [[spawn]] [[BIS_fnc_showSubtitle]];
|p1= name: [[String]] - name of the speaker


|p1= Name [[String]] - Name of the speaker |PARAMETER1=
|p2= subtitle: [[String]] - subtitle to display
|p2= Subtitle [[String]] - Subtitle |PARAMETER2=


| [[Script]] - Script controlling the displayed subtitle. |= return
|r1= [[Script Handle]] - script controlling the displayed subtitle.
____________________________________________________________________________________________


|x1= <code>["CROSSROAD", "Mission is a go, I repeat, mission is a go, Crossroad, out."] [[spawn]] '''BIS_fnc_showSubtitle'''</code> |EXAMPLE1=
|x1= <sqf>["CROSSROAD", "Mission is a go, I repeat, mission is a go, Crossroad, out."] spawn BIS_fnc_showSubtitle;</sqf>
____________________________________________________________________________________________
 
|exec= spawn |= Execution By (defaults to [[call]] if omitted)
 
|[[BIS_fnc_EXP_camp_playSubtitles]]|SEEALSO=


|exec= spawn


|seealso= [[Conversations]] [[BIS_fnc_EXP_camp_playSubtitles]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Ambient|{{uc:ambientAnimCombat}}]]
[[Category:Functions|{{uc:ambientAnimCombat}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ambientAnimCombat}}]]

Latest revision as of 10:02, 29 December 2022

Hover & click on the images for description

Description

Description:
Displays a subtitle at the bottom of the screen.
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.
Execution:
spawn
Groups:
GUI

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