This function or event no longer exists in version 6.0.2 (19034) of World of Warcraft. Please check the main API page for an up-to-date listing of the valid API functions

Returns the index of the active talent specialization


See also Talent functions.

Signature:

activeTalentGroup = GetActiveTalentGroup(isInspect, isPet)

Arguments:

  • isInspect - true to query talent info for the currently inspected unit, false to query talent info for the player (boolean)
  • isPet - true to query talent info for the player's pet, false to query talent info for the player (boolean)

Returns:

  • activeTalentGroup - Which talent group is currently active (number)
    • 1 - Primary Talents
    • 2 - Secondary Talents