WoW API: GetActiveTalentGroup

Revision as of 13:26, 15 February 2010 by WoWWiki>AzureusPT (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetActiveTalentGroup

Returns the index of the current active talent group.

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).