Results 1 to 6 of 6

Thread: I Need Help On How To Use FindObjectMulti

  1. #1
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default I Need Help On How To Use FindObjectMulti

    HI, in my script, i need to find a monk of entrana I, if i am correct, findobjectmulti is the most reliable way to find it. I need someone to explain to me how to use it, because i don't know what to do with "turns", multitext, and multitimes, I simply don't know what they do...


    If you could help, I would really appreciated it

  2. #2
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Turns - How many searches FindObjectMulti does.
    MultiText - True if you wnat to search for all 3 UpText's, False if you want to search for just the first UpText.
    MultiTurns - True if you want to repeat the search, False if you want to only search once.

    You should use

    SCAR Code:
    MultiText = true;
    MultiTurns = true;

    because it will be more effective. Turns, set to around 5-10.

  3. #3
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    would this work if I want it to continue until the right option in the options box is found, and then choose that option. It will also set the camera east and at the highest point. Also, will it do the same thing if i just set turns higher? In addition, The text is uptext right?, cuz in my text, i have pult one as 'alk to' to assure the object is an NPC (that text is white not yellow)

    SCAR Code:
    procedure BoatRide;
     begin
      repeat
       FindObjMulti(x, y, 'onk of', 'ntrana', 'alk to', 1717584, 1452606, 3301515,  7, 1, True, True);
       mouse(x, y, 0, 0, False);
       ChooseOptionEx('ake-boat');
      until ChooseOptionEx('ake-boat')=True;
      wait(8000+ random(1000));//wait while boat gets there
      MakeCompass('e');{ this parts makes assures the correct camera angle for next procedure(getting off boat)}
      KeyDown(38);
      Sleep(1000 + Random(100) + Random(200));
      KeyUp(38);
      Wait(500 + Random(100));
    end;

  4. #4
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I got another question
    I get this when i compile:
    Line 61: [Error] (14566:34): Unknown identifier 'DetectRS2MinimapCompassAngle' in script C:\Program Files\SCAR 3.11\includes\SRL/SRL\Extended\Obsolete.scar

    i think is is a problem with SRL\Extended\Obsolete.scar

    How do I fix this?

  5. #5
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just to tell you now... FindObjMulti won't be in SRL 4, you should wait for SRL 4 to do object finding. There will be a new function to take its place. Forgot the name. This function will take the spot of a few functions in Object.scar, thats why I suggest you wait

    ~The_Rs_Monkey

  6. #6
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OH thanks! lol, ill just w8 until srl is updated before i do the object finding

    p.s., i love that sig lol

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 07-12-2007, 08:58 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
  •