Mort
2010-03-12 19:23:30
Hi Guys 'n Girls,
Made these simple SendArrowWait script to solve a maze where the price can be put at 4 spots. You can't see where it is from start and sorta have to try find it by checking all the spots. Anyway, I made the scripts go to the spots and they work decently, with a few failures from time to time as the maze moves JUST a tiny bit sometimes. I can live with that for now though.
My problem is when I'm trying to combine my procedures it run the Fail and Profit procedures even though the colors in the given sqaure aint 'TRUE'. I will link my script:
Any suggestions?
Made these simple SendArrowWait script to solve a maze where the price can be put at 4 spots. You can't see where it is from start and sorta have to try find it by checking all the spots. Anyway, I made the scripts go to the spots and they work decently, with a few failures from time to time as the maze moves JUST a tiny bit sometimes. I can live with that for now though.
My problem is when I'm trying to combine my procedures it run the Fail and Profit procedures even though the colors in the given sqaure aint 'TRUE'. I will link my script:
begin
UpperLeft
if(FindColor(x, y, 255, 509, 147, 533, 168))then;
Begin
Fail
end;
if(FindColor(x, y, 3895377, 747, 188, 792, 247))then;
Begin
Profit
end;
UpperRight
end.
Any suggestions?