endMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 58: Line 58:
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 12:51, 25 March 2013

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.
Multiplayer:
To end mission properly so that everyone goes to debriefing at the same time, this command should be executed on every machine.
Groups:
Uncategorised

Syntax

Syntax:
endMission end type
Parameters:
end type: 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

Notes

Bottom Section