b00tsy 27 Posted September 9, 2010 So I am using this code to delete dead opfor troops, but it wont work. I could have sworn that I got it to work the first time I used this code some time ago. Now whatever I try it wont for some reason. Placed as a trigger activated by bluefor, repeated. init: this On act: { if !alive _x then { deletevehicle _x } } foreach (nearestObjects [player, ["Man"], 200]) Share this post Link to post Share on other sites
neokika 61 Posted September 9, 2010 { if (!alive _x) then { deletevehicle _x } } foreach (nearestObjects [player, ["Man"], 200]); _neo_ Share this post Link to post Share on other sites
b00tsy 27 Posted September 9, 2010 That did the trick, thanks neo :) Share this post Link to post Share on other sites