Types/Unit Group

From SC2Mapster Wiki
Jump to: navigation, search

Unit Group[edit | edit source]

  • The Unit Group type is a special type for managing lists and groups of units. It is a dynamic list of units, as opposed to a static unit array.

Creation & Deletion[edit | edit source]

To create a unit group, there are a variety of functions available. The simplest way to create a unit group is to use the following function:

No manual deletion is necessary. StarCraft II will manage defunct unit group variables automatically.

Modification[edit | edit source]

The following actions and functions are used in a basic fashion to manage a unit group:

Information[edit | edit source]

Type Name: unitgroup

Other[edit | edit source]