API SetSpecialization

From Wowpedia
Jump to: navigation, search

Selects a specialization.

SetSpecialization(specIndex [, isPet] )

Arguments

specIndex 
Number - Index of the specialization to select, ascending from 1.
isPet 
Boolean - if true, set the select a specialization for the player's pet, otherwise, select a specialization for the player.

Details

  • Fails silently if you/your pet already have selected a specialization.

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

See also