{"name":"missionEnd","title":"missionEnd","type":"command","url":"https://community.bistudio.com/wiki/missionEnd","revid":377043,"updated":"2026-01-01T08:50:34Z","groups":["Mission Information"],"status":"ok","games":{"arma3":"2.06"},"since":"arma3 2.06","arma3_since":"2.06","description":"Returns mission end type and how it was ended or an empty array [] is mission was not ended.","syntaxes":[{"syntax":"missionEnd","params":[],"returns":{"type":"Array","type_expr":"Array","description":"with [endType, failMission, isFailed] (or empty array if the mission is not ending):\n- endType : String - the ending that was passed to failMission or endMission - failMission: Boolean - true if the mission ended via failMission, false if via endMission - isFailed: Boolean - engine idea of how mission ended. For example if mission ended via failMission but the type of ending was not \"Killed\", isFailed is false","text":"Array with [endType, failMission, isFailed] (or empty array if the mission is not ending):\n\n- endType : String - the ending that was passed to failMission or endMission\n- failMission: Boolean - true if the mission ended via failMission, false if via endMission\n- isFailed: Boolean - engine idea of how mission ended. For example if mission ended via failMission but the type of ending was not \"Killed\", *isFailed* is false"},"form":"nullary"}],"examples":[{"code":["private _endInfo = missionEnd;"]},{"code":["missionEnd params [\"_endType\", \"_failMission\", \"_isFailed\"];"]}],"see_also":["endMission","failMission","forceEnd"]}