API GetActiveSpecGroup

104,670pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetActiveSpecGroup

Returns the index of the current active talent group for the player.

local specGroup = GetActiveSpecGroup();

Returns Edit

The index of the current active talent group (1 for primary / 2 for secondary).

Example Edit

/script print(GetActiveSpecGroup())


For primary spec

For alternate spec

Patch changes Edit

0500Mists-Logo-Small Patch 5.0.4 (28-August-2012): Replaced GetActiveTalentGroup.

See also Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki