SetActiveTalentGroup
Jump to navigation
Jump to search
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
to2
(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())