deleteGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (changed global to local variable to make clear the variable)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''deleteGroup''' [[Group]]|= Syntax
| '''deleteGroup''' group|= Syntax


|p1=[[Group]] |= Parameter 1
|p1= group: [[Group]] |= Parameter 1


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 17:26, 22 January 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Destroys the given AI group.
Groups:
Uncategorised

Syntax

Syntax:
deleteGroup group
Parameters:
group: Group
Return Value:
Nothing

Examples

Example 1:
deleteGroup _groupname

Additional Information

See also:
createGroup

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

Notes

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.
--5133p39 07:50, 10 July 2007 (CEST)
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.

Bottom Section