WoW API: GetActiveTalentGroup

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetActiveTalentGroup to API GetActiveTalentGroup without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetActiveTalentGroup

Returns the index of the current active talent group.

local index = GetActiveTalentGroup(isInspect, isPet);

ParametersEdit

ArgumentsEdit

isInspect
Boolean - If true returns the information for the inspected unit instead of the player.
isPet
Boolean - If true returns the information for the inspected pet.

ReturnsEdit

index
The index of the current active talent group (1 for primary / 2 for secondary).

Patch changesEdit

Template:Mists-inline <span style="" title="Patch 5.0.4">Patch 5.0.4</span> (patch date::28-August-2012): Replaced by GetActiveSpecGroup.

See alsoEdit