Wikia

WoWWiki

API GetActiveSpecGroup

Talk0
98,585pages on
this wiki

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

local specGroup = GetActiveSpecGroup();

Contents

Returns

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

Example

/script print(GetActiveSpecGroup())

Result

For primary spec
1

For alternate spec
2

Patch changes

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

See also

Advertisement | Your ad here

Photos

Add a Photo
62,228photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki