Advertisement

SetSpecialization

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-Logo-Small.png Patch 5.0.4 / API (2012-08-28): Added.

See also

Community content is available under CC BY-SA 3.0 unless otherwise noted.