GetNumTalentTabs

From Warcraft Wiki
Jump to navigation Jump to search

Returns the total number of talent tabs for the player.

numTabs = GetNumTalentTabs([isInspect])

Arguments

isInspect
boolean - Optional, will return the number of talent tabs for the current inspect target if true (see NotifyInspect).

Returns

numTabs
number - The number of talent tabs available (for example Elemental, Enhancement, and Restoration for Shamans).

Patch changes

Mists of Pandaria Patch 5.0.4 (2012-08-28): Removed.
Bc icon.gif Patch 2.3.0 (2007-11-13): Added inspect, pet arguments.