Arma 3 Scripting

Command in Mission Information

missionEnd

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns mission end type and how it was ended or an empty array [] is mission was not ended.

Syntax

missionEnd

Returns: Array with [endType, failMission, isFailed] (or empty array if the mission is not ending):

Examples

Example 1

private _endInfo = missionEnd;

Example 2

missionEnd params ["_endType", "_failMission", "_isFailed"];

See also

endMission · failMission · forceEnd