Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

DropItem

Method drop item from “finger” to selected container (or ground)

Returns True on success, False if no item “on finger”

case MoveIntoID:

  • Ground, then drop item on the ground with the specified coordinates.
  • container, then drop item to container.
  • Item - will try to stack item with old.

Pascal

function DropItem(MoveIntoID:Cardinal; X, Y, Z:Integer):Boolean

Python

def DragItem(ItemID, Amount) -> bool

Example Pascal

procedure LootGold;
begin
  if FindType($0EED, Corpse) <> 0 then
  begin
    DragItem(finditem, 0);
    Wait(300);
    DropItem(backpack,0,0,0);
    Wait(600);
  end;
end;