Results 1 to 9 of 9

Thread: How to click objects?

  1. #1
    Join Date
    Dec 2011
    Location
    Behind you...
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default How to click objects?

    This might be a stupid question but how do i make a script click an object then click another abject after walking to a place.
    I could find any specific tutorials on it also.

    I just want my script to first walk from edgebank then click wildy ditch and the warning and go past?

    is their a function for clicking an object?

    Thank for your help

  2. #2
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    FindObjCustom(); should work for this.

    FindObjTPA(); would be even better.

  3. #3
    Join Date
    Dec 2011
    Location
    Behind you...
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    so 'object' could go inbetween the brackets?
    Last edited by ssshhhaaa; 02-09-2012 at 10:30 AM.

  4. #4
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    FindObjCustom(x, y, ['UpText Here'], [color here], tolerance);

    that is how you use it.

  5. #5
    Join Date
    Dec 2011
    Location
    Behind you...
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    thanks for the help

  6. #6
    Join Date
    Dec 2011
    Location
    Behind you...
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Btw what do the x and y stand for?

  7. #7
    Join Date
    Jul 2007
    Location
    Finland
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ssshhhaaa View Post
    Btw what do the x and y stand for?
    Coordinates

  8. #8
    Join Date
    Dec 2011
    Location
    Behind you...
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by nokkasiili View Post
    Coordinates
    Do i have to input the coordinates?
    Last edited by ssshhhaaa; 02-06-2012 at 02:31 PM.

  9. #9
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    declare vars x, y and feed them to your function.
    you get them back as the x,y coords of the object you found

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
  •