WoW API: GetActiveTalentGroup
Jump to navigation
Jump to search
← 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).