DropHere
Drop item with ID ItemID to ground under char’s feet.
Returns True or False.
NB: Calling inside 2 methods: DragItem + DropItem
Pascal
function DropHere(ItemID : Cardinal) : Boolean;
Python
def DropHere(ItemID): -> bool
Example Pascal
procedure DropOre;
begin
If Weight > DropWeight then
begin
while Weight > DropWeight do
begin
Wait(1000);
UseObject(backpack);
FindType(oretype, backpack);
if finditem = 0 then
Break;
Drophere(finditem);
Wait(1000);
end;
end;
end;