This console command enables and disables (toggles) invincibility for all of your soliders.
The syntax for the TakeNoDamage command is as follows:
takenodamage Mission
Search our database of 38 XCOM 2 commands...
Full listFind below working examples of the TakeNoDamage command.
TakeNoDamage
If this command is disabled (default), typing the above command into the console will make all of your squad invincible. If you have already enabled this command, typing it into the console will toggle it off.