deleteGroup – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
 
m (Text replacement - "Killzone Kid" to "Killzone_Kid")
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


<dl class="command_description">
<dl class="command_description">
<dt></dt>
<dd class="notedate">Posted on March 31, 2015 - 14:58 (UTC)</dd>
<dd class="notedate">Posted on March 31, 2015 - 14:58 (UTC)</dd>
<dt class="note">[[User:Rickb|Rickb]]</dt>
<dt class="note">[[User:Rickb|Rickb]]</dt>
Line 8: Line 9:
</dd>
</dd>
</dl>
</dl>
I have prepared a simple demonstration of a group getting autodeleted:
<code style="display: block">[] 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)

Latest revision as of 13:48, 12 March 2024

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)