Jump to content
Sign in to follow this  
b00tsy

why doesn't this work?

Recommended Posts

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
{ if (!alive _x) then { deletevehicle _x } } foreach (nearestObjects [player, ["Man"], 200]);

_neo_

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×