BIS fnc endMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Alternative syntax merged with the default one. It's true for most of the functions that when only one argument is used, no brackets are required. See "Functions Library (Arma 3)" for more info.)
m (1 revision)
(No difference)

Revision as of 15:03, 25 July 2014

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 (Opional): String - end type, as used in endMission command (default: "end1")
isVictory (Opional): Boolean - true to successful end, false for failed end (default: true)
fadeType (Optional): Boolean or Number - true for signature closing shot. When number, simple fade to black of given duration is used.
Return Value:
Boolean

Examples

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

Additional Information

See also:
Debriefing

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