Results 1 to 5 of 5

Thread: DTM Help

  1. #1
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default DTM Help

    Alright, so I finished the most important parts of my script, but it's got one big issue. It tries reaching chickens that are on the outside of the chicken pen/fence. Is it possible to make a DTM or a DDTM of the pen?

    I want to use MMTOMS and a Back-up function, along with GetMinimapDots to make sure that the chicken's minimap dot is within the DTM(Chicken pen) and if it isn't, it'll ignore the chicken.

  2. #2
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    I would make a ATPA of the pen then check whether the chicken is within the ATPA.

    -Boom

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    ^ That,
    Or find the churn symbol and click to the upper right of it.

  4. #4
    Join Date
    Oct 2008
    Location
    behind you!
    Posts
    1,688
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    use length function?

    Never really used it, but you could do something like a length between the symbol on Mini Map, or just the RoadColor?

    Like If length(some small length) > RoadColor then GoBackToChickens - The same for the symbol.

    Edit: or even better: If length(more near the brown thing on north) then Go_back
    Last edited by Tickyy; 11-20-2011 at 01:00 AM.
    Hi

  5. #5
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Dynamite View Post
    I would make a ATPA of the pen then check whether the chicken is within the ATPA.

    -Boom
    Sounds good, but how would I specifically make an ATPA from the boundaries? That's the confusing part.

    I was thinking of searching for dirt colors and comparing the surroundings, but it's basically the same as the outside of the chicken pen. Also, about the symbol suggestion; I have a DTM to return to the pen, but I need to make some sort of TBox surrounding the pen and check if the chicken's point is within it.
    Last edited by DeSnob; 11-20-2011 at 01:06 AM.

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
  •