BIS fnc credits movie: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Some wiki formatting)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= GUI
|gr1= GUI


| Movie credits function.
|descr= Movie credits function.
{{Informative | To display the credits in full screen, use the following code:
<code>[] [[spawn]] {<br> [[disableSerialization]];<br> {{cc|Create credits}}<br> ([[findDisplay]] 46) [[createDisplay]] "RscCredits";<br> [] [[call]] [[BIS_fnc_credits_movie]];<br>};</code>}}


|exec= spawn
|exec= spawn


| [display, mode] call [[BIS_fnc_credits_movie]]
|s1= [display, mode] call [[BIS_fnc_credits_movie]]


|p1= display: [[Display]] - (Optional) display to use to show the credits
|p1= display: [[Display]] - (Optional) display to use to show the credits
Line 19: Line 16:
|p2= mode: [[Number]] - (Optional, default 0) 0 to start the credits, 1 to end them
|p2= mode: [[Number]] - (Optional, default 0) 0 to start the credits, 1 to end them


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[] [[spawn]] [[BIS_fnc_credits_movie]];</code>
|x1= <sqf>[] spawn BIS_fnc_credits_movie;</sqf>


| [[BIS_fnc_credits]], [[BIS_fnc_credits_movieConfig]], [[BIS_fnc_credits_movieSupport]]
|x2= Display the credits full screen:
<sqf>
[] spawn {
disableSerialization;
// create credits
(findDisplay 46) createDisplay "RscCredits";
[] call BIS_fnc_credits_movie;
};
</sqf>
 
|seealso= [[BIS_fnc_credits]] [[BIS_fnc_credits_movieConfig]] [[BIS_fnc_credits_movieSupport]]
}}
}}
[[Category:Functions|{{uc:credits_movie}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:credits_movie}}]]

Latest revision as of 17:47, 13 July 2022

Hover & click on the images for description

Description

Description:
Movie credits function.
Execution:
spawn
Groups:
GUI

Syntax

Syntax:
[display, mode] call BIS_fnc_credits_movie
Parameters:
display: Display - (Optional) display to use to show the credits
mode: Number - (Optional, default 0) 0 to start the credits, 1 to end them
Return Value:
Nothing

Examples

Example 1:
[] spawn BIS_fnc_credits_movie;
Example 2:
Display the credits full screen:
[] spawn { disableSerialization; // create credits (findDisplay 46) createDisplay "RscCredits"; [] call BIS_fnc_credits_movie; };

Additional Information

See also:
BIS_fnc_credits BIS_fnc_credits_movieConfig BIS_fnc_credits_movieSupport

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