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



Introduced in

Version:18.1.0

Description

Description:Creates a new VBS Control AI group for the given side.

If no unit of that side exists 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 - The group that is created, grpNull is returned if the maximum number of groups is exceeded, or no center exists for that side.
Groups that do not have any members yet return sideUnknown as their side.

Examples

Examples:_group = createActorGroup east

Additional Information

See also: isActor, createActor, getGroupAiType
Multiplayer: 
Problems: 

Notes