Returns which faction entry is selected in the reputation UI.

Selection has no bearing on other faction-related APIs; this function merely facilitates behaviors of Blizzard's reputation UI.


See also Faction functions.

Signature:

index = GetSelectedFaction()

Returns:

  • index - Index of an entry in the faction list; between 1 and GetNumFactions() (number)