Hello Im trying to force my cavebot to go to X waypoint and DROP loot, if I have less than X cap.
1. Create an 2 Actions in Cavebot:
#1 Waypoint.
#X waypoint since this waypoint is just before all I want to do and labeled "DROP"
2. Create a LUA script on Cavebot:
So the cavebot doesnt go to the label called '"DROP" not sure what im doing wrong.
Also I tried this:
1. Create an 2 Actions in Cavebot:
#1 Waypoint.
status = 'no drop'
#X waypoint since this waypoint is just before all I want to do and labeled "DROP"
status = 'drop'
2. Create a LUA script on Cavebot:
captodrop = 40
if cap() <= captodrop and status == 'no drop' then
gotolabel('DROP')
end
So the cavebot doesnt go to the label called '"DROP" not sure what im doing wrong.
Also I tried this:
if cap() <= 30 and status == 'no drop' then
gotolabel('DROP')
end