Results 1 to 5 of 5

Thread: Clicking the nearest symbol, help!

  1. #1
    Join Date
    Oct 2007
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Clicking the nearest symbol, help!

    In my script i want to walk to the nearest symbol, not the farthest, any idias how i could do this?..
    Woot woot.

  2. #2
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    FindSymbolIn
    or making the compass point south might work, if u dont mind that.

  3. #3
    Join Date
    Jan 2009
    Location
    Somewhere
    Posts
    240
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Something like this? Not sure thought
    SCAR Code:
    var
    x, y, Rx, Ry:Integer;
    begin
      x:=MMCX;
      y:=MMCY;
             FindSymbol (x,y,'TheSymbol') ;
             If Distance(x, y, Rx, Ry) < 1 then
             DoSomething;
    end;

    Dunno if works m8

  4. #4
    Join Date
    Oct 2007
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Bump :|

    {************************************************* ******************************
    procedure FindSymbols(var AnsTPA: array of TPoint; SymbolName: string);
    By: Boreas
    Description: Finds a symbol in multiple places.
    ************************************************** *****************************}
    Woot woot.

  5. #5
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    EvilChicken! already gave you the answer on the copy of this thread.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Clicking The Nearest Symbol.
    By Ultra in forum OSR Help
    Replies: 2
    Last Post: 01-19-2009, 12:09 AM
  2. symbol clicking?
    By faster789 in forum OSR Help
    Replies: 11
    Last Post: 04-01-2008, 08:25 AM
  3. clicking the quest symbol then the bank symbol
    By RudeBoiAlex in forum OSR Help
    Replies: 7
    Last Post: 03-22-2007, 11:14 PM

Posting Permissions

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