BIS fnc endMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(alt syntax)
Line 18: Line 18:
|p3= '''fadeType''': [[Boolean]] or [[Number]] - true for signature [[Debriefing|closing shot]]. When number, simple fade to black of given duration is used. |=
|p3= '''fadeType''': [[Boolean]] or [[Number]] - true for signature [[Debriefing|closing shot]]. When number, simple fade to black of given duration is used. |=


| [[Boolean]] |= Return value
____________________________________________________________________________________________
|s2= endName spawn BIS_fnc_endMission; |= Syntax
|p21= '''endName''': [[String]] - end type, as used in [[endMission]] command (default: "end1") |=
| [[Boolean]] |= Return value
| [[Boolean]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 03:54, 24 December 2013

Hover & click on the images for description

Description

Description:
Ends mission with a fade effect.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[endName,isVictory,fadeType] spawn BIS_fnc_endMission;
Parameters:
endName: String - end type, as used in endMission command (default: "end1")
isVictory: Boolean - true to successful end, false for failed end (default: true)
fadeType: Boolean or Number - true for signature closing shot. When number, simple fade to black of given duration is used.
Return Value:
Boolean

Alternative Syntax

Syntax:
endName spawn BIS_fnc_endMission;
Parameters:
endName: String - end type, as used in endMission command (default: "end1")
Return Value:
Nothing

Examples

Example 1:
"end1" call BIS_fnc_endMission;
Example 2:
["epicFail",false,2] call BIS_fnc_endMission;

Additional Information

See also:
Boolean

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