(info) Other great resources: Official JS API docs, Scripting Forum

Group Object

A group of Game objects...

 

Properties

PropertyTypeNotesAvailability
idNumber

The group ID.

You can retrieve the objects in the group using enumGroup().

3.2+
typeConstantGROUP3.2+

Notes

Group objects are currently only defined in labels.ini and are only accessible via the getObject() function.

Example

var attackers = enumGroup( getObject("AttackGroup").id );
Availability 3.2+

Requires:

  • Warzone 3.2 or above
Contents

Jump to:

Scripting: Groups

Related Objects:

 Create them:

  • newGroup() – create a new group
  • WZ 3.2+ – add to a group that doesn't exist yet
  • labels.ini – group map-placed objects

Add things to them:

Remove things from them:

  • Put them in some other group

Count objects in them:

List them:

Retrieve their objects:

Monitor them:

Remove them:

  • not currently possible