SRL Archive - OSR Help

Setting specific compass angle?


Brotein

2012-03-27 09:50:26

So I'm having an issue setting my compass direction. If I use the MakeCompass to set an angle, it seems to be very inaccurate. I need the camera to be set at North(0) exactly as if you hit the make north button in RS, but the function seems to have a random +/- 15 degree difference when setting the angle. If they angle isn't correct the object won't be found for my script. Any suggestions?

Ibotlots8D

2012-03-27 09:58:30


ClickNorth(SRL_ANGLE_HIGH);

ogustuce

2012-03-28 11:33:47

try

MakeCompass('N'); // u can put all 4 direction here (N,S,E,W)
SetAngle(SRL_ANGLE_HIGH);
or

ClickNorth; // this clicks the compass in runescape
SetAngle(SRL_ANGLE_HIGH);

Abu

2012-03-28 11:37:18

The solutions above work perfectly.

But just as a side-note, whenever you're stuck on what function to use do do a certain action, then simply type in words related to that action in the 'functions' list in Simba. For example, if you wanted to do this, all you would have had to do is type in 'Angle' or 'Compass' into the functions list and you would of got the function. Double-clicking it would then allow you to view an include which shows you what that function does and how to use it. :)