WoW:API GetNumTalentTabs: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m ({{wowapi}})
Line 1: Line 1:
{{wowapi}}
Returns the total number of tabs of talents one has.
Returns the total number of tabs of talents one has.


  ''numTabs'' = GetNumTalentTabs();
  numTabs = GetNumTalentTabs();


----
----
Line 16: Line 17:


;''Results'' : Displays the number of talents tabs one has.
;''Results'' : Displays the number of talents tabs one has.
----
{{template:WoW API}}

Revision as of 08:20, 25 October 2006

WoW API < GetNumTalentTabs

Returns the total number of tabs of talents one has.

numTabs = GetNumTalentTabs();

Returns
numTabs
Integer - The number of tabs one has.

Example
local numTabs = GetNumTalentTabs()
DEFAULT_CHAT_FRAME:AddMessage( numTabs )
    
Results
Displays the number of talents tabs one has.