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)
No edit summary
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 ==

Revision as of 06:18, 15 August 2023

WoW API < SetActiveSpecGroup

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

SetActiveSpecGroup(groupIndex)

Arguments

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

Details

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

Patch history

See also