BIS fnc credits movie: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{Function|Comments=" to "{{Function|Comments=")
(Page filling)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Movie credits function.
File: fn_credits_movie.sqf
{{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>}} |DESCRIPTION=


Description:
|exec= spawn |Execution=
Movie credits function.
____________________________________________________________________________________________
 
Parameter(s):
_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=
| [display, mode] call [[BIS_fnc_credits_movie]] |SYNTAX=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_credits_movie]]; --> |SYNTAX=
|p1= display: [[Display]] - (Optional) display to use to show the credits |PARAMETER1=


|p1= |PARAMETER1=
|p2= mode: [[Number]] - (Optional, default 0) 0 to start the credits, 1 to end them |PARAMETER2=


| |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| |SEEALSO=
| [[BIS_fnc_credits]], [[BIS_fnc_credits_movieConfig]], [[BIS_fnc_credits_movieSupport]] |SEEALSO=
 
}}
}}



Revision as of 14:58, 10 June 2020

Hover & click on the images for description

Description

Description:
Movie credits function.
To display the credits in full screen, use the following code: [] spawn {
disableSerialization;
// Create credits
(findDisplay 46) createDisplay "RscCredits";
[] call BIS_fnc_credits_movie;
};
Execution:
spawn
Groups:
Uncategorised

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;

Additional Information

See also:
BIS_fnc_creditsBIS_fnc_credits_movieConfigBIS_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

Notes

Bottom Section