wowpedia
Main Menu


Sets the active talent group of the player. This is the 5 second cast that occurs when clicking the Activate These Talents button in the talent pane.

SetActiveTalentGroup(groupIndex);

Arguments

groupIndex
number - Ranging from 1 to 2 (primary/secondary talent group). To get the current one use GetActiveTalentGroup()

Notes

Examples

The following line will toggle between the player's talent groups

SetActiveTalentGroup(3 - GetActiveTalentGroup())