Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API GetPrimaryTalentTree
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} == Synopsis == Returns your primary talent tree local talentTabId = GetPrimaryTalentTree(index) == Details == Returns 0 for talentTabId if you have no primary talent tree set yet. Will otherwise return the number of your primary talent tree (1 to 3). Index is 0 for primary spec, and any number greater than 0 for secondary spec. == Patch changes == {{Patch 5.0.4|note=Replaced by {{api|GetSpecialization}}.}} == 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}}
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Api
(
edit
)
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Mists-inline
(
edit
)
Template:Patch
(
edit
)
Template:Patch 5.0.4
(
edit
)
Template:Tocright
(
edit
)
Template:WoW/patch
(
edit
)
Template:WoW/patch 5.0.4
(
edit
)
Template:Wowapi
(
edit
)