SetActiveTalentGroup
Jump to navigation
Jump to search
![]() ![]() ![]() ![]() ![]() |
C_SpecializationInfo.SetSpecialization |
![]() |
+ 11.1.0 |
![]() ![]() |
SetSpecialization |
+ 5.0.4 | |
![]() ![]() |
SetActiveTalentGroup |
![]() ![]() |
+ 3.1.0 / 3.4.0 / 1.14.4 |
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())