- 0 Talk
-
API GetActiveTalentGroup
Returns the index of the current active talent group.
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).