Play3r 143 Posted November 19, 2021 i want to delete a group that i have spawned in with the BIS_fnc_spawnGroup, my problem is that i can not use a trigger to delete the group, the group have a HVT that i need to use when the group is deleted. i have tried to look at the Wiki but can't find anything about it. // Play3r Share this post Link to post Share on other sites
Harzach 2505 Posted November 19, 2021 It's not exactly clear what you want to do, but my first thought is to have the HVT leave the group so you can delete it. There are multiple ways to do this, here's one: [HVT] join grpNull; //HVT is moved into a newly generated group {<code>}//get rid of other members of group as desired groupName deleteGroupWhenEmpty true; Share this post Link to post Share on other sites
Play3r 143 Posted November 19, 2021 1 minute ago, Harzach said: It's not exactly clear what you want to do, but my first thought is to have the HVT leave the group so you can delete it. There are multiple ways to do this, here's one: [HVT] join grpNull; //HVT is moved into a newly generated group {<code>}//get rid of other members of group as desired groupName deleteGroupWhenEmpty true; yes i have [HVT] join GroupNull. But how do i delete the rest of the group when he leaves P3R_Attackgroup =[getMarkerPos "MARK1", WEST, ["B_Patrol_Soldier_TL_F", "B_Patrol_Medic_F", "B_Patrol_HeavyGunner_F", "B_Patrol_Soldier_AR_F"] ,[],[],[],[],[],340] call BIS_fnc_spawnGroup; this is my Code. Share this post Link to post Share on other sites
Harzach 2505 Posted November 19, 2021 {deleteVehicle _x} forEach units P3R_Attackgroup; 1 Share this post Link to post Share on other sites
Play3r 143 Posted November 19, 2021 Just now, Harzach said: {deleteVehicle _x} forEach units P3R_Attackgroup; F..k that simpel LOL..😵 Thanks for help..👍 1 Share this post Link to post Share on other sites