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


Introduced in

Version:1.00

Description

Description:

Creates a new group for the given side.

Note: In V3.x+, this is not needed anymore. Centers for all sides are automatically created upon mission start.

If no unit of that side exists yet in the mission, then an HQ (center) for that side must be created using createCenter. The theoretical limit for the number of groups is 1296 per side. To avoid exceeding this limit, empty groups can be deleted using deleteGroup.

Syntax

Syntax:createGroup side
Parameters:
Return Value:Group - Created group. Is grpNull, if the maximum number of groups has been exceeded, or no center exists for that side. Groups that do not have any members (yet), return sideUnknown as their side.

Examples

Examples:_group = createGroup east

Additional Information

See also: deleteGroup, createCenter, allGroups, join
Multiplayer: 
Problems: 

Notes