WoW:API SetActiveSpecGroup: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page API SetActiveSpecGroup to API SetActiveSpecGroup without leaving a redirect)
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:


== Patch history ==
== Patch history ==
{{Patch 5.0.4|note=Replaced {{api|SetActiveTalentGroup}}.}}
* Patch 5.0.4 - Replaced {{api|SetActiveTalentGroup}}


== See also ==
== See also ==

Latest revision as of 06:18, 15 August 2023

WoW API < SetActiveSpecGroup

Changes the active specialization/talents/glyphs group (dual-spec).

SetActiveSpecGroup(groupIndex)

Arguments[edit]

groupIndex
Number - Specialization group to activate; 1 for primary, 2 for secondary.

Details[edit]

  • This function is not protected, but you can only be change specializations while not in combat.
  • Passing invalid specGroup indices fails silently.

Patch history[edit]

See also[edit]