XCOM 2 Endbattle Command


This command will end your current mission. If all objectives are completed, you will win the mission, otherwise you will fail. Complete all mission objectives with the ForceCompleteObjective command before using this to win your mission.

Endbattle Syntax


The syntax for the endbattle command is as follows:

endbattle [0 / 1]

This command has the following arguments:

0 / 1Specify '1' here (without quotes) to end the battle with a win, if all objectives are completed. Specify '0' (without quotes) to end, and not win the battle.

Endbattle Examples


Find below working examples of the endbattle command.


endbattle 1

This command will end your current mission, and if all objectives are completed, you will win. If all objectives are not completed, you will lose.