Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Deletes the given AI group.

Groups should be deleted once they are not needed. Otherwise, even empty groups count in the maximum of 1296 groups. A group can only be deleted. if it does not contain any members (dead units are automatically removed from the group after a few seconds). In order to delete a group, it must not contain any units - units _group must return an empty array.

Syntax

Syntax:deleteGroup group
Parameters:
  • group: Group - Group the delete.
Return Value:Nothing

Examples

Examples:
(units grp1) join grpNull; // Remove all members from the group
deleteGroup grp1; // Delete group 

Additional Information

See also: createGroup, join
Multiplayer: 
Problems: 

Notes