Navigation menu

WoW:API GetActiveTalentGroup: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Create page)
 
No edit summary
Line 3: Line 3:
Returns the index of the current active talent group.
Returns the index of the current active talent group.


GetActiveTalentGroup(isInspect, isPet);
local index = GetActiveTalentGroup(isInspect, isPet);


== Parameters ==
== Parameters ==
Line 16: Line 16:


:;index : The index of the current active talent group (1 for primary / 2 for secondary).
:;index : The index of the current active talent group (1 for primary / 2 for secondary).
== Patch changes ==
{{Patch 5.0.4|note=Replaced by {{api|GetActiveSpecGroup}}.}}
== See also ==
* {{api|GetActiveSpecGroup}}
* {{api|SetActiveSpecGroup}}
* {{api|GetNumSpecGroups}}
* {{api|GetSpecialization}}
* {{api|GetNumUnspentTalents}}
* {{api|GetNumSpecializations}}
* {{api|GetSpecializationInfo}}
* {{api|GetSpecializationRole}}
* {{api|t=e|ACTIVE_TALENT_GROUP_CHANGED}}
Anonymous user