Twinki
2013-04-30 21:51:43
This is for a RSPS, I doubt that makes a difference though. I made a script for finding an Ardy knight and Pick'ing it. Sometimes the knight will get stuck behind a tree or building and the bot won't be able to find it. How would I make it rotate the camera if it doesn't find the knight, until it finds it?
// Find and PickPocket Knight \\
procedure FindKnight;
var
X, Y:Integer;
begin
if FindColorTolerance(X, Y, KnightColor, 5, 3, 511, 329, 10) then
begin
WriteLn('Found Knight');
MMouse(x, y, 0, 0);
ClickMouse2(False);
wait(2000);
ChooseOption('Pickpocket Knight');
wait(250);
WriteLn('Picked Knight');
inc(PickPockets);
end;
end;