BIS fnc titlecard: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(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


| Display a mission-specific titlecard before the mission begins. Only works the first time it is called.
|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]]
|s1= [path, subtitle] call [[BIS_fnc_titlecard]]


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


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


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


|seealso= [[allCutLayers]], [[titleRsc]], [[cutText]], [[cutObj]], [[cutFadeOut]], [[setTitleEffect]]
|seealso= [[allCutLayers]] [[titleRsc]] [[cutText]] [[cutObj]] [[cutFadeOut]] [[setTitleEffect]]
}}
}}

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