BigRedJapan
2012-05-31 21:03:28
Procedure LanteronLight;
Var
lX, lY, gX, gY: Integer;
Begin
Wait(1000);
lX:=MICX;
lY:=MICY;
If FindObjTPA(lX, lY, 10771522, 15, 1, 4, 5, 150, ['se Sap', 'phire', 're lant']) Then
Begin
StatsGuise('Found Lantern');
WriteLn('Found Lantern');
GetMousePos(lX, lY);
Mouse(lX, lY, 5, 5, False);
WaitOption('Use Sapphire lantern', 500)
Begin
Wait(4000);
if FindColorSpiralTolerance(gX, gY, 8871996, 6, 2, 332, 106, 20)Then
Begin
MoveMouse(gX, gY);
Wait(1500);
HoldMouse(gX, gY, 1);
ReleaseMouse(gX, gY, 1);
Wait(6000);
end;
end;
end;
end; Its not working for me! i need to make it grab the lantern in my pack and use it on something!
Really need some advise!