BIS fnc titlecard: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Function| arma3|1.00|gr1= GUI| Display a mission-specific titlecard before the mission begins. Only works the first time it is called.| [path, subtitle] call [[BIS_fnc_titlecard]]|p1= path: [[String]] - Path to video|p2= subtitle: [[String]] - (Optional, default "") Subtitle displayed| [[Boolean]]|x1= <code>["\a3\missions_f_epb\video\b_out2_quotation.ogv", "your translation"] [[call]] [[BIS_fnc_titlecard]];</code>| [[allCutLayers]], [[titleRsc]], [[cutText]], [[cutObj]], [[cutFadeOut]], [[setTitleEffect]]
{{RV|type=function
}}
 
|game1= arma3
|version1= 1.00
 
|gr1= GUI
 
|descr= Display a mission-specific titlecard before the mission begins. Only works the first time it is called.
 
|s1= [path, subtitle] call [[BIS_fnc_titlecard]]


|p1= path: [[String]] - path to video


|p2= subtitle: [[String]] - (Optional, default "") subtitle displayed|r1= [[Boolean]]


|x1= <sqf>["\a3\missions_f_epb\video\b_out2_quotation.ogv", "your translation"] call BIS_fnc_titlecard;</sqf>


[[Category:Functions|{{uc:titlecard}}]]
|seealso= [[allCutLayers]] [[titleRsc]] [[cutText]] [[cutObj]] [[cutFadeOut]] [[setTitleEffect]]
[[Category:{{Name|arma3}}: Functions|{{uc:titlecard}}]]
}}

Latest revision as of 16:45, 8 November 2023

Hover & click on the images for description

Description

Description:
Display a mission-specific titlecard before the mission begins. Only works the first time it is called.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[path, subtitle] call BIS_fnc_titlecard
Parameters:
path: String - path to video
subtitle: String - (Optional, default "") subtitle displayed
Return Value:
Boolean

Examples

Example 1:
["\a3\missions_f_epb\video\b_out2_quotation.ogv", "your translation"] call BIS_fnc_titlecard;

Additional Information

See also:
allCutLayers titleRsc cutText cutObj cutFadeOut setTitleEffect

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