WoW:API GetSpellTabInfo: Difference between revisions
Jump to navigation
Jump to search
GetSpellTabInfo -Documentation by Lorrick-
m (Fixed title.) |
m (cat) |
||
| Line 34: | Line 34: | ||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
Revision as of 04:53, 4 January 2006
Returns information about the specified spellbook tab.
name, texture, offset, numSpells = GetSpellTabInfo({spellbookTabNum});
- Arguments
- ( spellbookTabNum )
- spellbookTab
- Integer - Spellbook tab to retrieve information for. Valid values are 1 through MAX_SKILLLINE_TABS(8).
- Returns
- Not too familiar with LUA terminology yet so bear with me. Returns 4 values that I could tell.
- name, texture, offset, numSpells
- name
- String - Spellbook Tab Name
- texture
- String - Spellbook Tab Texture
- offset
- Number - Spellbook Tab Offset
- numSpells
- Number - Number of spells for this tab.
- Example
name, texture, offset, numSpells = GetSpellTabInfo(1);
- Result
- Description
- Retreive information for specified spellbook tab.