Arma 3 Scripting

endMission

  • Local argument
  • Local effect
  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · 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