![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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
1to2(primary/secondary talent group). To get the current one use GetActiveTalentGroup()
Notes
- Nothing will happen if the groupIndex is the currently active talent group
Examples
The following line will toggle between the player's talent groups
SetActiveTalentGroup(3 - GetActiveTalentGroup())
