deleteGroup – Talk

From Bohemia Interactive Community
Revision as of 13:48, 12 March 2024 by Lou Montana (talk | contribs) (Text replacement - "Killzone Kid" to "Killzone_Kid")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

group auto becoming null

Posted on March 31, 2015 - 14:58 (UTC)
Rickb
the green box above is wrong. GROUPS DO NOT GET DELETED AUTOMATICALLY IN ARMA3 IF EMPTY. you still have to delete manually. it does work this way: {if (count units _x==0) then {deleteGroup _x}} forEach allGroups; ..my experience..

I have prepared a simple demonstration of a group getting autodeleted: [] spawn { _group = group player; hint str [_group, group player]; //[B Alpha 1-1,B Alpha 1-1] sleep 1; [player] join grpNull; //leave current group hint str [_group, group player]; //[<NULL-group>,B Alpha 1-2] };

Have you got an example to support your claim? Killzone_Kid (talk) 13:09, 1 April 2015 (CEST)