BIS fnc titlecard: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= GUI |GROUP1=
|gr1= GUI |GROUP1=
____________________________________________________________________________________________


| Display a mission-specific titlecard before the mission begins. Only works the first time it is called. |DESCRIPTION=
| Display a mission-specific titlecard before the mission begins. Only works the first time it is called. |DESCRIPTION=
____________________________________________________________________________________________


| [path, subtitle] call [[BIS_fnc_titlecard]] |SYNTAX=
| [path, subtitle] call [[BIS_fnc_titlecard]] |SYNTAX=
____________________________________________________________________________________________


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


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


| [[Boolean]] |RETURNVALUE=
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________


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


| [[allCutLayers]], [[titleRsc]], [[cutText]], [[cutObj]], [[cutFadeOut]], [[setTitleEffect]] |SEEALSO=
| [[allCutLayers]], [[titleRsc]], [[cutText]], [[cutObj]], [[cutFadeOut]], [[setTitleEffect]] |SEEALSO=

Revision as of 00:01, 17 January 2021

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:
allCutLayerstitleRsccutTextcutObjcutFadeOutsetTitleEffect

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


Notes

Bottom Section