Fandom

WoWWiki

API PickupPetAction

104,635pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < PickupPetAction

Pick up a pet action for drag-and-drop.

PickupPetAction(petActionSlot)

Parameters Edit

Arguments Edit

(petActionSlot)
petActionSlot 
Numeric - The pet action slot to pick the action up from (1-10).

Returns Edit

nil


Details Edit

If the slot is empty, nothing happens, otherwise the action from the slot is placed on the cursor, and the slot is filled with whatever action was currently being drag-and-dropped (The slot is emptied if the cursor was empty).
Be very careful about picking up the pet control actions (Attack/Follow/Stay/Aggressive/Defensive/Passive), because if you lose them, there's no way to get them back.


Also on Fandom

Random Wiki