Summary
Removes all AI members from a group if the (player) leader dies and marks them for deferred despawn.
Description
In the vanilla game, recruited bots will remain in the group if a player dies. This causes newly recruited AI to sometimes take off to join with their brethren or behave in other unexpected ways.
This mod will immediately remove all AI members from the group if their player leader dies. Afterwards, they will be marked for "soft" despawn, meaning that they will be deleted if no other player has been within 300m for 5 minutes. So you should have enough time to return and re-recruit them.
New: This will also apply to AI group members beyond 300m distance to their leader. Sometimes, group members get lost along the way, leading to the aforementioned problems. To disable this, set the AIMaxDIstanceToLeader variable to 0.0 in the GroupsManagerComponent.
License
Arma Public License (APL)