deleteGroup – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
 
Line 8: Line 8:
</dd>
</dd>
</dl>
</dl>
I have prepared a simple demonstration of a group getting autodeleted:
<code>[] 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]
};</code>
Have you got an example to support your claim? [[User:Killzone Kid|Killzone Kid]] ([[User talk:Killzone Kid|talk]]) 13:09, 1 April 2015 (CEST)

Revision as of 12:09, 1 April 2015

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)