API GetActiveTalentGroup
Talk0
98,567pages on
this wiki
this wiki
Returns the index of the current active talent group.
local index = GetActiveTalentGroup(isInspect, isPet);
Contents |
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
Patch 5.0.4 (28 August 2012): Replaced by GetActiveSpecGroup.