Puts the contents of a pet action slot onto the cursor or the cursor contents into a pet action slot. Only pet actions and spells from the "pet" portion of the spellbook can be placed into pet action slots.

If the cursor is empty and the referenced pet action slot contains an action, that action is put onto the cursor (but remains in the slot). If the cursor contains a pet action or pet spell and the slot is empty, the action/spell is placed into the slot. If both the cursor and the slot contain pet actions, the contents of the cursor and the pet action slot are exchanged.


See also Pet functions, Action functions, Cursor functions.

Signature:

PickupPetAction(index)

Arguments:

  • index - Index of a pet action (between 1 and NUM_PET_ACTION_SLOTS) (number)