WoW:API CastPetAction: Difference between revisions

m
Move page script moved page API CastPetAction to WoW:API CastPetAction without leaving a redirect
No edit summary
m (Move page script moved page API CastPetAction to WoW:API CastPetAction without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
  <center>'''CastPetAction''' </center>
  <center>'''CastPetAction''' </center>


Cast the corresponding pet skill.
Cast the corresponding pet skill.


  CastPetAction(index);
  CastPetAction(index, [unit]);


----
----
Line 10: Line 11:
: (index)
: (index)
:; index : Number - The index of the pet skill for query.
:; index : Number - The index of the pet skill for query.
: (unit)
:; unit : [[UnitId]] - Optional UnitId


----
----
Line 33: Line 37:


: Cast the corresponding pet skill. Requires a button press.
: Cast the corresponding pet skill. Requires a button press.
----
{{WoW API}}
Anonymous user