the MakeCompass('n'); is that suppose to move the compass so it faces north because it never works for me
the MakeCompass('n'); is that suppose to move the compass so it faces north because it never works for me
Yes, It works fine for me... post the procedure it is in.
SUMMER BREAK be back when I want to
here can it be used in main
SCAR Code:begin
setup;
MakeCompass('n');
walktothebank;
depositwachagot;
end.
"your always where you supposed to be"
U could do PerfectNorth; maybe, its just eazier, and if thats giving u troubles, might as well? ;P
hakuna matata ;)
ty ill try it
"your always where you supposed to be"
Try this, it should work fine.
It could be because your client window does not have focus when you try to rotate the screen.Code:program TestCompass; {.include SRL/SRL.scar} var i:integer; begin SetupSRL; ActivateClient; repeat i:=random(4)+1; Writeln('StartPos = '+IntToStr(FindCompassAngle)); case i of 1: Writeln('N'); 2: Writeln('S'); 3: Writeln('E'); 4: Writeln('W'); end; case i of 1: MakeCompass('N'); 2: MakeCompass('S'); 3: MakeCompass('E'); 4: MakeCompass('W'); end; Writeln('EndPos = '+IntToStr(FindCompassAngle)); Wait(1000+random(500)); until false; end.
There are currently 1 users browsing this thread. (0 members and 1 guests)