BIS fnc titlecard: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= GUI


|gr1= GUI |GROUP1=
|descr= Display a mission-specific titlecard before the mission begins. Only works the first time it is called.


| Display a mission-specific titlecard before the mission begins. Only works the first time it is called. |DESCRIPTION=
|s1= [path, subtitle] call [[BIS_fnc_titlecard]]


| [path, subtitle] call [[BIS_fnc_titlecard]] |SYNTAX=
|p1= path: [[String]] - path to video


|p1= path: [[String]] - Path to video|PARAMETER1=
|p2= subtitle: [[String]] - (Optional, default "") subtitle displayed|r1= [[Boolean]]


|p2= subtitle: [[String]] - (Optional, default "") Subtitle displayed|PARAMETER2=
|x1= <sqf>["\a3\missions_f_epb\video\b_out2_quotation.ogv", "your translation"] call BIS_fnc_titlecard;</sqf>


| [[Boolean]] |RETURNVALUE=
|seealso= [[allCutLayers]] [[titleRsc]] [[cutText]] [[cutObj]] [[cutFadeOut]] [[setTitleEffect]]
 
|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=
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:titlecard}}]]
[[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