Wikia

WoWWiki

API GetActiveTalentGroup

Talk0
102,229pages on
this wiki
Revision as of 22:50, August 30, 2012 by Lushas (Talk | contribs)

(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);

Parameters Edit

Arguments Edit

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 Edit

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

Patch changes Edit

Mists-Logo-Small Patch 5.0.4 (28 August 2012): Replaced by GetActiveSpecGroup.

See also Edit

Around Wikia's network

Random Wiki