Jump to content
Sign in to follow this  
1para{god-father}

How to delete in a trigger

Recommended Posts

How can I delete every OPFOR in a trigger area or a marker area ?

So if i complete my task and move to the next one I want to delete any leftover men to keep the numbers down.

Cheers

Share this post


Link to post
Share on other sites

Give the trigger a name and make it opfor present repeatedly and then you can do:

{deletevehicle _x} foreach (list yourTrigger);

Share this post


Link to post
Share on other sites

Wouldn't the garbage collector do that? I dont use it but I thought that is what it did

Share this post


Link to post
Share on other sites
Give the trigger a name and make it opfor present repeatedly and then you can do:

{deletevehicle _x} foreach (list yourTrigger);

thats cool i didn't know you could do that. everything i do is always by getting positions and a bunch of boolean operations to verify location...thats much less typing

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  

×