Home
2006-10-11 10:03:12
Well Thanks to Masq…. ( Forgot name :P) For that fancy proc
FindSrlCompass Thing :)
I was making one script and Makecompass was not enough good :S
So i modded it to this.. It is little bit laggy but works
( This is Kinda Perfect North)
:P
~Home
FindSrlCompass Thing :)
I was making one script and Makecompass was not enough good :S
So i modded it to this.. It is little bit laggy but works
( This is Kinda Perfect North)
Function MakeNorth : boolean;
Var
Fx, Fy, Dx, Dy : Integer;
ComMark: Integer;
Begin
If(FindSRLCompassAngle >2)then Begin
MarkTime(ComMark);
KeyDown(VK_RIGHT);
Repeat
Wait(100+Random(100))
If(findsrlcompassangle < 2)then
begin
Result := True;
break;
end;
Until(TimeFromMark(ComMark) > 20000);
KeyUp(VK_Right);
End;
end;:P
~Home