missionEnd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add example)
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 19: Line 19:
|x2= <code>[[missionEnd]] [[params]] ["_endType", "_failMission", "_isFailed"];</code>
|x2= <code>[[missionEnd]] [[params]] ["_endType", "_failMission", "_isFailed"];</code>


|seealso= [[endMission]], [[failMission]], [[forceEnd]]
|seealso= [[endMission]] [[failMission]], [[forceEnd]]
}}
}}

Revision as of 16:46, 20 January 2022

Hover & click on the images for description

Description

Description:
Returns mission end type and how it was ended or an empty array [] is mission was not ended.
Groups:
Mission Information

Syntax

Syntax:
missionEnd
Return Value:
Array - in format [endType, failMission, isFailed] (or empty array if the mission is not ending), where:

Examples

Example 1:
private _misssionEnd = missionEnd;
Example 2:
missionEnd params ["_endType", "_failMission", "_isFailed"];

Additional Information

See also:
endMission failMissionforceEnd

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