Coladebote 46 Posted September 27, 2021 Hi guys, I'm preparing an individual training maze. Around 80 OPFOR enemies are distributed within the circuit. There may be 8 or 10 players who individually make the tour. What I want is that if a player is killed in the middle of the circuit, without concluding it, all OPFOR units disappear and the script that places enemy units on the stage is activated again. In this way the next player can start the round with all the units in place. In short, it is that when PLAYER X dies, all OPFOR UNITS are deleted from the stage. {deleteVehicle _x} forEach [H_1,H_2,H_3,H_4,H_5,H_6,H_7,H_8,H_9,H_10,H_11,H_12]; This may be a possible solution, but since there are 80 OPFOR units, I want to avoid the sausage Can somebody help me. Thank you. Share this post Link to post Share on other sites
UnDeaD. 81 Posted September 27, 2021 Hi, i'm pretty sure this will work: {deletevehicle _x} foreach (units opfor); With the 2.02 update the devs expanded the units command, so it can collect all units of a side, too. Link 2 Share this post Link to post Share on other sites
Coladebote 46 Posted September 28, 2021 It's just what I'm looking for. I'm going to test it to see how it works. Thanks for the input. 1 Share this post Link to post Share on other sites