Results 1 to 3 of 3

Thread: Returning from where I came.

  1. #1
    Join Date
    Sep 2007
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Returning from where I came.

    Well first is a brief explanation of my script so far so you know what I am doing. The script I am working on goes from a bank, to the mining spot and mines until inventory is full and thats where it stops. When the script mines it goes to a few different rocks.

    What I would like help with is for going back to the bank. The moving around kinda keeps me from using a few set clicks to get back and I am unsure how to get back to the same spot every time to keep on track. What I would like to do is have my character move to the same spot every time it is done mining so I can move to the bank from there after each full inventory.

    What kind of procedure or function, or somewhat should I use to get to that spot each time?

  2. #2
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    If there's a Mining Symbol where you're mining, you can use:

    SCAR Code:
    procedure AlignAtSymbol;
    var
      x, y: Integer;
    begin
      if(not(LoggedIn)) then
        Exit;
      if(FindSymbol(x, y, 'mining spot')) then
      begin
        Mouse(x, y, 1, 1, true);
        Flag;
      end;
    end;

    That should work.
    :-)

  3. #3
    Join Date
    Sep 2007
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alright, thanks, I'll try it out and see if i need something else.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 02-11-2008, 02:42 AM
  2. Returning
    By dwas-woot in forum News and General
    Replies: 2
    Last Post: 03-04-2007, 12:53 AM

Posting Permissions

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