# Group Index

Group Index is used by game modes to determine priority when selecting objects, with lower numbers having higher priority.

## Firefight Group Indexes

In the Firefight Game Mode, Group Indexes are set in AI Spawner properties, and are used to determine which "hill" AI from a spawner will go to in Firefight KotH. Nodes in the Game Mode Firefight category can use Group Index to filter spawners and units.

## Firefight Subgroup Indexes

Subgroup Indexes are used to further define priority from within an Index Group.

![alt text](https://github.com/The-Scripters-Guild/ForgeWiki/blob/main/scripting/ForgeWiki/.gitbook/assets/ai-spawner-properties-group-indexes.JPG)

### Group Indexes in AI Spawner Properties

* Group Index
* Subgroup Index 1
* Subgroup Index 2
* Subgroup Index 3
* Subgroup Index 4
* Subgroup Index 5
* Subgroup Index 6
* Subgroup Index 7
* Subgroup Index 8
* Subgroup Index 9
* Subgroup Index 10
* Subgroup Index Boss

[Learn more on the Firefight Koth Mode Options page](https://github.com/The-Scripters-Guild/ForgeWiki/blob/main/scripting/ForgeWiki/forge/modes/firefight/firefight-koth/mode-options.md)

\
\
**Contributors**

AddiCt3d 2CHa0s
