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

Delete Groups even when alive ?

Recommended Posts

I need to delete a group once I complete a task even if they are still alive.

I normaly use the following to delete a group once dead but how can I delete them even if they are still alive ?

_grpbuild1 spawn {
_units = units _this;
waitUntil {sleep 2; ({alive _x} count _units) == 0};
{deleteVehicle _x} foreach _units;
deleteGroup _this;
};

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  

×