WoW:API GetTalentTabInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Fixed typo in function name.) |
||
| Line 1: | Line 1: | ||
Returns the name of the talent tab | Returns the name of the talent tab | ||
''nameTab'' = | ''nameTab'' = GetTalentTabInfo( ''tabIndex'' ); | ||
---- | ---- | ||
Revision as of 02:40, 27 September 2005
Returns the name of the talent tab
nameTab = GetTalentTabInfo( 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.