WoW:API PickupContainerItem: Difference between revisions

m
Move page script moved page API PickupContainerItem to WoW:API PickupContainerItem without leaving a redirect
m (Robot: Removing selflinks)
m (Move page script moved page API PickupContainerItem to WoW:API PickupContainerItem without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
Wildcard function usually called when a player clicks on a slot in their bags. Functionality includes picking up the item from a specific bag slot, putting the item into a specific bag slot, and applying enchants (including poisons and sharpening stones) to the item in a specific bag slot.
Wildcard function usually called when a player left clicks on a slot in their bags. Functionality includes picking up the item from a specific bag slot, putting the item into a specific bag slot, and applying enchants (including poisons and sharpening stones) to the item in a specific bag slot, except if one of the Modifier Keys is pressed.


  PickupContainerItem(bagID, slot);
  PickupContainerItem(bagID, slot);
Line 73: Line 73:
                             -- it will be false when the coroutine is actually finished
                             -- it will be false when the coroutine is actually finished
  end
  end
You can also use the event "ITEM_LOCK_CHANGED" instead of OnUpdate.
Anonymous user