
Originally Posted by
Kungza
Hello!
I'd like to know if its possible to make a lootdropper (basiclly I want to make my bot chars dump all their loot into my house so I don't have to fix depot-backpacks etc..
If you know how to do this, please send me the script here or on PM
Thank you!
This maybe:
lua code:
Items = {"Arrow", "shovel", 16277, 3003} -- Item names enclosed with quotes or item IDs
function itemDrop()
pos = Self.Position()
for i=1, #Items do
Self.DropItem(pos.x, pos.y, pos.z, Items[i])
end
end
-- in your walker labels --
elseif(Label == "InHouse") then
Walker.Stop()
itemDrop()
Walker.Start()
Regards,
O4T