WoW API: GetNumSpecGroups

Revision as of 22:54, 30 August 2012 by WoWWiki>Lushas (Created page with "{{wowapi}} Returns the number of specialization group (dual specs) the player has. local numSpecGroups = GetNumSpecGroups() == Returns == ; numSpecGroups : Number - number o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetNumSpecGroups

Returns the number of specialization group (dual specs) the player has.

local numSpecGroups = GetNumSpecGroups()

Returns

numSpecGroups
Number - number of available specialization groups; 1 for characters that have not learned dual-specializations, 2 for those that have.

Patch history

Template:Mists-inline <span style="" title="Patch 5.0.4">Patch 5.0.4</span> (patch date::28-August-2012): Replaced GetNumTalentGroups.

See also