BIS fnc titlecard: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(page filling)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(28 intermediate revisions by 3 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
____________________________________________________________________________________________


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


| [path,subtitle] call [[BIS_fnc_titlecard]] |= Syntax
|s1= [path, subtitle] call [[BIS_fnc_titlecard]]
____________________________________________________________________________________________


|p1= path: [[String]] - Path to video|= Parameter 1
|p1= path: [[String]] - path to video
|p2= subtitle: [[String]] - (Optional, default "") Subtitle displayed|= Parameter 1
____________________________________________________________________________________________


| [[Boolean]] |= Return value
|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>
____________________________________________________________________________________________


| [[allCutLayers]], [[titleRsc]], [[cutText]], [[cutObj]], [[cutFadeOut]], [[setTitleEffect]] |= See also
|seealso= [[allCutLayers]] [[titleRsc]] [[cutText]] [[cutObj]] [[cutFadeOut]] [[setTitleEffect]]
}}
}}
<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: GUI|{{uc:titlecard}}]]
[[Category:Functions|{{uc:titlecard}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:titlecard}}]]

Latest revision as of 15: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