deleteGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">")
Line 29: Line 29:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
<dt><dt>
<dd class="notedate">Posted on December 17, 2006 - 00:34</dd>
<dd class="notedate">Posted on December 17, 2006 - 00:34</dd>
<dt class="note">[[User:ColonelSandersLite|ColonelSandersLite]]<dd class="note"><br>
<dt class="note">[[User:ColonelSandersLite|ColonelSandersLite]]<dd class="note"><br>
The deleteGroup Command does not work when there are living members of in the group.  It doesn't error, it simply doesn't do anything.<br>
The deleteGroup Command does not work when there are living members of in the group.  It doesn't error, it simply doesn't do anything.<br>
 
<dt><dt>
<dd class="notedate">Posted on 07:50, 10 July 2007 (CEST)</dd>
<dd class="notedate">Posted on 07:50, 10 July 2007 (CEST)</dd>
<dt class="note">[[User:5133p39|5133p39]]<dd class="note">Living or not doesn't matter - you can't delete the group while it contains any units - even dead ones. It takes few seconds until a dead unit is automatically removed from its group.
<dt class="note">[[User:5133p39|5133p39]]<dd class="note">Living or not doesn't matter - you can't delete the group while it contains any units - even dead ones. It takes few seconds until a dead unit is automatically removed from its group.
 
<dt><dt>
<dd class="notedate">Posted on September 12, 2013 - 03:54</dd>
<dd class="notedate">Posted on September 12, 2013 - 03:54</dd>
<dt class="note">[[User:LongEnoughName|LongEnoughName]]<dd class="note">deleteGroup will only delete local groups even if called by server. Say we have a situation where client creates a group and puts a unit there and later unit dies\gets deleted, server will not be able to delete that empty group until client leaves the game and group ownership switches to server
<dt class="note">[[User:LongEnoughName|LongEnoughName]]<dd class="note">deleteGroup will only delete local groups even if called by server. Say we have a situation where client creates a group and puts a unit there and later unit dies\gets deleted, server will not be able to delete that empty group until client leaves the game and group ownership switches to server

Revision as of 00:12, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Groups

Syntax

Syntax:
Syntax needed
Parameters:
group: Group
Return Value:
Return value needed

Examples

Example 1:
deleteGroup _groupname;

Additional Information

See also:
deleteGroupWhenEmptyisGroupDeletedWhenEmptycreateGroupunitsgroupgroupFromNetId

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on December 17, 2006 - 00:34
ColonelSandersLite

The deleteGroup Command does not work when there are living members of in the group. It doesn't error, it simply doesn't do anything.
Posted on 07:50, 10 July 2007 (CEST)
5133p39
Living or not doesn't matter - you can't delete the group while it contains any units - even dead ones. It takes few seconds until a dead unit is automatically removed from its group.
Posted on September 12, 2013 - 03:54
LongEnoughName
deleteGroup will only delete local groups even if called by server. Say we have a situation where client creates a group and puts a unit there and later unit dies\gets deleted, server will not be able to delete that empty group until client leaves the game and group ownership switches to server