Arma 3 Scripting

Command in Mission Information

endMission

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

Description

Finish the mission. Mission saves are deleted. Use failMission if they should not be.

Note

Arma 3: To maintain Arma 3 visual style, it is recommended to use BIS_fnc_endMission instead.

Syntax

endMission endType

Parameters:

Returns: Nothing

Examples

Example 1

endMission "END1";

Example 2

["END1"] remoteExec ["endMission", 0, true]; // Arma 3

Multiplayer

To end mission properly so that everyone goes to debriefing at the same time, this command should be executed on every machine (see #Example 2).

See also

missionEnd · failMission · forceEnd