SRL Archive - OSR Help

[Script Help] Is there a GetCompassAngle function?


LaPanthere

2013-07-24 22:34:30

Hello,

Was wondering if there was a get compass angle function because I need to check the angle and click in different places depending on the current compass angle.

I hope the experts out there can help me out,

Kind regards,
LaPanthere

Flight

2013-07-24 22:42:19

From: LaPanthere
Hello,

Was wondering if there was a get compass angle function because I need to check the angle and click in different places depending on the current compass angle.

I hope the experts out there can help me out,

Kind regards,
LaPanthere


Includes > SRL-OSR > SRL > core > flag.simba. You'll find "rs_GetCompassAngleDegrees()" which will give you an extended integer; ex: "The compass is at angle 275.8777". You can do something like "Round(rs_GetCompassAngleDegrees);"

LaPanthere

2013-07-25 00:39:16

Ah, thank you very much, was just looking at that exact same function a few moments ago, I'll update the thread.