# Subgroup Index
Grammar — Index of highlighted subgroup in selection of units for player player
Flags —Native
|Function
Returns the active subgroup index for the specified player’s unit selection.
# Arguments
int
— Player
Returns — int
native int UnitSubgroupIndexSelected(int inPlayer);
# Related
Category: Selection / Unit Selection
- [F] —
int
— Subgroup Index — ( UnitSubgroupIndexSelected ) - [F] —
unitgroup
— Selected Subgroup Units — ( UnitSubgroupSelected ) - [F] —
void
— Select/Deselect Unit — ( UnitSelect ) - [F] —
void
— Select Next Subgroup — ( UnitSubgroupIndexNext ) - [F] —
void
— Select Previous Subgroup — ( UnitSubgroupIndexPrevious ) - [F] —
void
— Select/Deselect Unit Group — ( UnitGroupSelect ) - [F] —
void
— Clear Unit Selection — ( UnitClearSelection ) - [F] —
bool
— Unit Is Selected — ( UnitIsSelected ) - [F] —
bool
— Unit Type Is Selected — ( libNtve_gf_UnitTypeIsSelected ) - [F] —
unitgroup
— Selected Units — ( UnitGroupSelected ) - [F] —
void
— Unit Is Selected — ( TriggerAddEventUnitSelected ) - [F] —
void
— Store Unit Selection — ( libNtve_gf_StoreUnitSelection ) - [F] —
void
— Restore Unit Selection — ( libNtve_gf_RestoreUnitSelection ) - [F] —
void
— Flash Unit Selection — ( UnitFlashSelection )
# Examples
— None found —