yolo123
Junior Member
Posts: 7 Likes: 0
Currently Offline
Last Online: Oct 29, 2020 18:27:06 GMT
View Profile
Registered On: Jul 21, 2020 16:26:38 GMT
|
Post by yolo123 on Aug 13, 2020 17:09:16 GMT
Hi guys, I am struggling with 3 things:
1) my cavebot does not open a certain type of corpse. So my ambition is it, to look for the corpse with the id on the ground next to me and to just open it once so the grabbing function of the caveboot triggers. My problem is that when I script something like "auto 100 useongrounditem 1234" it spams the opening process. Sure I can make a longer delay but then I could miss a corpse. I just need the script to open the corpse just once.
2) I want to check if there is a specific item on the north tile next to me. And if not, then it should put this item on this exact spot. I am not able to find this condition.
Thanks to everyone only reading this, I think this site is practically dead. I am still in hope.
|
|
|
Post by VoltZ on Nov 27, 2020 22:40:22 GMT
auto 100 if [$target.hp == 0] usegrounditem XXXX
auto 100 if [$topitem.($posx).($posy-1).$posz != 'ITEM ID'] dropitemsxyzamount [$posx] [$posy-1] $posz ITEM ID AMOUNT
|
|