WoW:API PickupPetAction: Difference between revisions
Jump to navigation
Jump to search
PickupPetAction - Documentation by Flickering
No edit summary |
(upgraded deprecated template) |
||
| Line 1: | Line 1: | ||
{{wowapi}} | |||
<center>'''PickupPetAction''' - ''Documentation by [[User:Flickering|Flickering]]''</center> | <center>'''PickupPetAction''' - ''Documentation by [[User:Flickering|Flickering]]''</center> | ||
| Line 20: | Line 21: | ||
---- | ---- | ||
__NOTOC__ | __NOTOC__ | ||
Revision as of 18:12, 6 January 2007
Pick up a pet action for drag-and-drop.
PickupPetAction(petActionSlot)
Parameters
Arguments
- (petActionSlot)
- petActionSlot
- Numeric - The pet action slot to pick the action up from (1-10).
Returns
- nil
Details
- 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.