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



Introduced in

Version:18.1.0

Description

Description:

Checks what units a specified group contains.

Groups can either contain "regular" units (created using createUnit) or "actors" (created using createActor), but not a mix of both.

Syntax

Syntax:getGroupAiType group
Parameters:
  • group: Group - The group to check the units in.
Return Value:Number - Either 0: empty, 1: actors, 2: regular units.

Examples

Examples:
_grpType = getGroupAiType (group soldier1)

Additional Information

See also: isActor, createActorGroup
Multiplayer: 
Problems: 

Notes