deleteGroup – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
m (Text replacement - "Killzone Kid" to "Killzone_Kid")
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
</dl>
</dl>
I have prepared a simple demonstration of a group getting autodeleted:
I have prepared a simple demonstration of a group getting autodeleted:
<code>[] spawn {
<code style="display: block">[] spawn {
_group = group player;
_group = group player;
hint str [_group, group player]; //[B Alpha 1-1,B Alpha 1-1]
hint str [_group, group player]; //[B Alpha 1-1,B Alpha 1-1]
Line 18: Line 18:
};</code>
};</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)
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)