Results 1 to 5 of 5

Thread: How would I go about clicking this...

  1. #1
    Join Date
    Feb 2012
    Posts
    168
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How would I go about clicking this...



    So if I wanted to click the right door in order to re-enter the Giant Spiders Room, how would I distinguish it from the left door/how could I make SMART find it and click it?
    Last edited by Imagine; 04-14-2012 at 02:57 AM.

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    use spiral functions? it will search from the middle so it will click the door nearer to u. If u need to get nearer to the door first then just use MMdot to click on the yellow npc dots.

    Alternatively, u can let the script adjust to a certain angle/compass view such that the 2 doors will look very different and u can just use dtm/bitmap etc to click the desired door.

  3. #3
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    ClickMouse2(True);

  4. #4
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Sin View Post
    ClickMouse2(True);
    Trolololol

  5. #5
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Have the script use a certain angle like compass at N and angle at high then make a DTM that will only highlight the door you want and have it click that door.

    Something like this:

    Simba Code:
    procedure ClickDoor;
    var
    x, y: integer;
    aFound: Extended;
    begin
     MakeCompass('N');
     SetAngle(SRL_ANGLE_HIGH);

     if FindDTMRotated(blah blah blah..) then
      begin
       GetMousePos(x, y);
       Mouse(x, y, 2, 2, True);
      end;
    end;
    Current Project: Retired

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
  •