endMission

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2 version 1.00
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Finish the mission. The end type can be:
  • "CONTINUE"
  • "KILLED"
  • "LOSER"
  • "END1"
  • "END2"
  • "END3"
  • "END4"
  • "END5"
  • "END6"
Mission saves are deleted. Use failMission if they should not.
Arma 3 logo black.png To maintain Arma 3 visual style, it's recommended to use BIS_fnc_endMission instead.

Syntax

Syntax:
endMission endType
Parameters:
endType: String -
Return Value:
Nothing

Examples

Example 1:
endMission "END1";

Additional Information

Multiplayer:
To end mission properly so that everyone goes to debriefing at the same time, this command should be executed on every machine.
See also:
failMissionforceEnd

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section