Results 1 to 4 of 4

Thread: Setting specific compass angle?

  1. #1
    Join Date
    Jan 2012
    Location
    Long Island, NY
    Posts
    413
    Mentioned
    5 Post(s)
    Quoted
    95 Post(s)

    Default Setting specific compass angle?

    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?

  2. #2
    Join Date
    Feb 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simba Code:
    ClickNorth(SRL_ANGLE_HIGH);

  3. #3
    Join Date
    Feb 2012
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    try
    Simba Code:
    MakeCompass('N');      // u can put all 4 direction here (N,S,E,W)
      SetAngle(SRL_ANGLE_HIGH);
    or
    Simba Code:
    ClickNorth;    // this clicks the compass in runescape
      SetAngle(SRL_ANGLE_HIGH);

  4. #4
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •