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

Delete group when using BIS_fnc_spawnGroup

Recommended Posts

I am greating a group :-

_grpbuild1 = [getMarkerPos "task4a", east, _enemyCount] call BIS_fnc_spawnGroup;

When I know the task is finished i would like to delete all the men when they are dead , which is the best way ?

Share this post


Link to post
Share on other sites

best to use a global name for the group, remove the _ infront of grpbuild1 and its good, unless its deleted inside the spawning script, then local works.

{deleteVehicle _x} foreach units grpbuild1; deleteGroup grpbuild1;

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  

×