Fandom

WoWWiki

API GetPrimaryTalentTree

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetPrimaryTalentTree

Synopsis Edit

Returns your primary talent tree

local talentTabId = GetPrimaryTalentTree(index)

Details Edit

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 Edit

0500Mists-Logo-Small Patch 5.0.4 (28-August-2012): Replaced by GetSpecialization.

See also Edit

Also on Fandom

Random Wiki