BIS fnc credits movie: Difference between revisions

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


{{Function|Comments=
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |Game name=
|gr1= GUI


|1.00|Game version=
|descr= Movie credits function.
____________________________________________________________________________________________


| <pre>/*
|exec= spawn
File: fn_credits_movie.sqf


Description:
|s1= [display, mode] call [[BIS_fnc_credits_movie]]
Movie credits function.


Parameter(s):
|p1= display: [[Display]] - (Optional) display to use to show the credits
_this select 0: Display - Display for credits.
_this select 1: Number - Mode: 0 for end of credits, 1 for start of credits.
Returned value:
None
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
|p2= mode: [[Number]] - (Optional, default 0) 0 to start the credits, 1 to end them
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_credits_movie]]; --> |SYNTAX=
|r1= [[Nothing]]


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


| |RETURNVALUE=
|x2= Display the credits full screen:
____________________________________________________________________________________________
<sqf>
 
[] spawn {
|x1= <code></code> |=
disableSerialization;
____________________________________________________________________________________________
// create credits
 
(findDisplay 46) createDisplay "RscCredits";
| |SEEALSO=
[] call BIS_fnc_credits_movie;
};
</sqf>


|seealso= [[BIS_fnc_credits]] [[BIS_fnc_credits_movieConfig]] [[BIS_fnc_credits_movieSupport]]
}}
}}
<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:credits_movie}}]]
[[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