WoW:API GetTalentTabInfo
Returns the name of the talent tab
nameTab = GetNumTalentTabInfo( tabIndex );
- Arguments
- tabIndex
- Integer - Specifies which tab to identify.
- Returns
- nameTab
- String - The name of that tab.
- Example
local i = 1
while i <= GetNumTalentTabs() do
local numTalents = GetNumTalents(i)
DEFAULT_CHAT_FRAME:AddMessage( i .. ' ' .. GetTalentTabInfo(i) .. ' ' )
i = i+1
end
- Results
- Displays the tabIndex number for each tab followed by the name of the tab.