Types/Unit Group
< Types
Unit Group
- 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
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
The following actions and functions are used in a basic fashion to manage a unit group:
- Add & Remove Units: Add Unit To Unit Group/Remove Unit From Unit Group
- Merge & Separate: Add Unit Group To Unit Group/Remove Unit Group From Unit Group
- Clear & Copy: Remove All Units From Unit Group/Copy of Unit Group
Information
Type Name: unitgroup
Other
- Unit Group Function List
- Function List (Old link to be deleted after reorganisation)