endMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 34: Line 34:
'''Mission saves are deleted'''. Use [[failMission]] if they should not.{{Feature|arma3|To maintain Arma 3 visual style, it is recommended to use [[BIS_fnc_endMission]] instead.}}
'''Mission saves are deleted'''. Use [[failMission]] if they should not.{{Feature|arma3|To maintain Arma 3 visual style, it is recommended to use [[BIS_fnc_endMission]] instead.}}


|s1= '''endMission''' endType
|s1= '''endMission''' endType


|p1= endType: [[String]] -
|p1= endType: [[String]] -

Revision as of 22:02, 19 June 2021

Hover & click on the images for description

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
To maintain Arma 3 visual style, it is recommended to use BIS_fnc_endMission instead.
Multiplayer:
To end mission properly so that everyone goes to debriefing at the same time, this command should be executed on every machine.
Groups:
Mission Information

Syntax

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

Examples

Example 1:
endMission "END1";

Additional Information

See also:
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