boochen
01-07-2017, 03:57 PM
Hi guys. I try to make my own loot seller, which I can share with if I finish it. It would be great if somebody would post here a script that does this:
If walker reaches "label" then opens DepotLocker>DepotChest>DepotBox and then picks up certain amount of items.
something like:
function onWalkerSelectLabel(labelName)
registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
elseif (labelName == "Depositer") then
Walker.Stop()
wait(1900,2400)
Self.ReachDepot()
Self.DepositItems({ITEM_ID, DEPOTBOX_ID}, {ITEM_ID, DEPOTBOX_ID},....)
wait(2000)
and then continues functions of walker.
I tried with selfWithdrawItems but I can't get it. Im paramedic, not programist :D. Have nice day!
If walker reaches "label" then opens DepotLocker>DepotChest>DepotBox and then picks up certain amount of items.
something like:
function onWalkerSelectLabel(labelName)
registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
elseif (labelName == "Depositer") then
Walker.Stop()
wait(1900,2400)
Self.ReachDepot()
Self.DepositItems({ITEM_ID, DEPOTBOX_ID}, {ITEM_ID, DEPOTBOX_ID},....)
wait(2000)
and then continues functions of walker.
I tried with selfWithdrawItems but I can't get it. Im paramedic, not programist :D. Have nice day!