WoW API: GetActiveTalentGroup

From AddOn Studio
Revision as of 22:50, 30 August 2012 by WoWWiki>Lushas
Jump to navigation Jump to search

WoW API < GetActiveTalentGroup

Returns the index of the current active talent group.

local index = GetActiveTalentGroup(isInspect, isPet);

Parameters

Arguments

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.

Returns

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

Patch changes

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

See also