Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

Clean bandages on water

Ask for help
Post Reply
caiosc
Neophyte
Neophyte
Posts: 14
Joined: 27.03.2013 14:10

Clean bandages on water

Post by caiosc »

I'm doing a script for training healing.

I want to use the bandages, and when the clean bandages is over, I'll clean the bandages on the sea.

This is the script for cleaning the bandages;

Code: Select all

Program Test;

var
  bands, bloodybands : cardinal;

procedure CleanBands;

 Begin
    FindType(bands, Backpack); 
    If (FindQuantity < 1) then
    Begin
      UseObject(bloodybands); 
      waitfortarget(2000);
      TargetToTile(0, 560, 1107, 0);
    end;
  end;
       
Begin
    bands := FindType($0E21, backpack);
  bloodybands := FindType($0E20, backpack);
CleanBands;
End.
But the system keeps returning "Clean bloody bandages in water", as if there's not water on that tile. I'm sure it's a water tile, but It doesn't work.

I tryied cleaning the bandages on a "water trough" on the ground as well, putting its tile information instead of the sea tile, buy it didn't work as well.

Does anyone have a clue how to solve this?

Thanks!
Post Reply