So im trying to make the walking part of my scirpt and i post the start of the function in to a new scar to try it out and see if it compiles and it does not compile
I think its to do with the parameters of FindDTMRotated but im not to sure
SCAR Code:
{.include srl/srl.scar}
Function Walker:Boolean;
Var a,x,y,WalkDTM:Integer;
Begin
If Not LoggedIn Then Exit;
{ If (Loc='Bank') Then
If (LocTo='Tree1') Then
Begin
}
WalkDTM := DTMFromString('78DA632C676660D0636440066DF5450C46401' +
'A24FA1F08180B806AE450D5BCFAFA1D4CC34419DB806AD450D57C' +
'7CFF0E554D1D508D150173407619E2570300B830144C');
If FindDTMRotated(WalkDTM,x,y,MMX1,MMY2,MMX2,MMY2,-20,20,2,a) Then
Begin
WriteLn('FoundDTM')
Mouse(x,y,5,5,True);
End Else WriteLn('Not Found DTM');
End;
Begin
SetUpSRL
Wait(3000);
Walker;
End.
Thanks for any help
~Rya