Results 1 to 3 of 3

Thread: How to make script chop NEAREST tree?

  1. #1
    Join Date
    Dec 2011
    Location
    Los Angeles, California
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to make script chop NEAREST tree?

    Like right now, my script is chopping trees that are really far away when there's one like right next to my player. How do I make it chop the tree nearest to my player/nearest to the center of the screen?

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

    Default

    Use FindColorSpiralTolerance, it will search from the center of the screen (which is where ur charater is at) and spiral out, so it will detect the nearest tree first.

  3. #3
    Join Date
    Dec 2011
    Location
    Los Angeles, California
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    Use FindColorSpiralTolerance, it will search from the center of the screen (which is where ur charater is at) and spiral out, so it will detect the nearest tree first.
    I really love you, did you know that? You've been really helpful! More rep for you!

    EDIT: Darn, can't give anymore

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
  •