PDA

View Full Version : script for throw item on x sqm like one the screen



rusek
03-31-2016, 10:07 PM
walker script for throw gold ignot from backpack on the table nort-west same like on the screen
http://i.imgur.com/KtSlXDu.jpg?1

Tirell
04-01-2016, 01:21 AM
local Coin = "gold ignot"

if (labelName == "Dropcoin") then
if (Self.ItemCount(Coin) > 0) then
Self.DropItem(Self.Position().x - 1, Self.Position().y - 1, Self.Position().z, Coin, 1)
else
Cavebot.Stop()
end
end

you must add stand waypoint where you stand on the picture and then add label "Dropcoin"

rusek
04-02-2016, 01:03 AM
Tirell
im tested your script and not working ;/ please share with me working script

Tirell
04-02-2016, 02:31 PM
Any errors?

rusek
04-02-2016, 04:42 PM
Tirell
im founded working script
elseif(label == "Dropcoin") then
Self.DropItem(30108, 32934, 10, 9058, 1)

now working fine