Wowpedia
Advertisement
Wowpedia
240,511
pages
Game Flavors
Links
Patch
Added in 1.1.0 / 1.13.2

Cast the corresponding pet skill.

CastPetAction(index[, "target"])

Arguments

index 
number - pet action bar slot index, ascending from 1.
target 
string - unit to cast the action on; defaults to "target".

Patch history

Bc icon.gif Patch 2.0.1 / API (2006-12-05): Protected.

Advertisement