deadlyfishes Posted March 17, 2017 Share Posted March 17, 2017 I'm making good use of the group.destroy function, but I'm wondering if there's a way to remove all of one coalition for ease of testing purposes? "Through The Inferno" Endless, Dynamic, Open-World Experience for DCS World Website | Discord | Support TTI on Patreon SP Missions: Caucasus | NTTR | Syria | Mariana Islands | Persian Gulf | Normandy | South Atlantic | Sinai MP Servers: PvE Server Link to comment Share on other sites More sharing options...
Chump Posted March 17, 2017 Share Posted March 17, 2017 You could loop through all of the coalition's groups and destroy them: (example to destroy all RED groups) local groups = coalition.getGroups(coalition.side.RED) for _, group in pairs(groups) do group:destroy() end Link to comment Share on other sites More sharing options...
deadlyfishes Posted March 17, 2017 Author Share Posted March 17, 2017 You could loop through all of the coalition's groups and destroy them: (example to destroy all RED groups) local groups = coalition.getGroups(coalition.side.RED) for _, group in pairs(groups) do group:destroy() end Great, this worked perfectly. Dedicated server needed this badly. Thanks! "Through The Inferno" Endless, Dynamic, Open-World Experience for DCS World Website | Discord | Support TTI on Patreon SP Missions: Caucasus | NTTR | Syria | Mariana Islands | Persian Gulf | Normandy | South Atlantic | Sinai MP Servers: PvE Server Link to comment Share on other sites More sharing options...
Recommended Posts