WoW:API PickupAction: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Robot: converting/fixing HTML)
({{protectedcombatapi|2.2}})
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''PickupAction''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
{{protectedcombatapi|2.2}}


Pick up an action for drag-and-drop.
Pick up an action for drag-and-drop.


  PickupAction(actionSlot)
  PickupAction(actionSlot)
== Parameters ==
== Parameters ==
=== Arguments ===
=== Arguments ===
Line 19: Line 20:
: If you wish to empty the cursor without putting the item into another slot, try [[API PutItemInBackpack|PutItemInBackpack]].
: If you wish to empty the cursor without putting the item into another slot, try [[API PutItemInBackpack|PutItemInBackpack]].


----
__NOTOC__
__NOTOC__

Revision as of 18:01, 25 September 2007

WoW API < PickupAction

Pick up an action for drag-and-drop.

PickupAction(actionSlot)

Parameters

Arguments

(actionSlot)
actionSlot
Numeric - The action slot to pick the action up from.

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).
If you wish to empty the cursor without putting the item into another slot, try PutItemInBackpack.