User Tools

Site Tools


arma3:scripting:kill-all-east-units

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arma3:scripting:kill-all-east-units [2022-06-25 18:48] (current)
snakeman created initial page.
Line 1: Line 1:
 +====== ArmA 3 Kill All EAST Units ======
 +
 +[[:​arma3|ArmA 3]], [[arma3:​config|Config]],​ [[arma3:​missions|Missions]],​ [[arma3:​modeling|3D Modeling]], [[arma3:​scripting|Scripting]],​ [[arma3:​terrain|Terrain]],​ [[arma3:​texturing|Texturing]],​ [[arma3:​tools|Tools]]
 +
 +**2022-04-09**
 +
 +When you want to kill all EAST/OPFOR side units in a mission, for example testing mission victory condition etc, use ESC to bring up debug console and then this command:
 +<code cpp>
 +{_x setDamage 1} forEach units EAST;
 +</​code>​
 +
 +Note: the above kills all the SOLDIER CHARACTER units, no vehicles will be damaged.
 +
 +If you want to kill all vehicles then use:
 +<code cpp>
 +{_x setDamage 1} forEach vehicles;
 +</​code>​
  
arma3/scripting/kill-all-east-units.txt ยท Last modified: 2022-06-25 18:48 by snakeman