Results 1 to 10 of 10

Thread: Walking with dtms.

  1. #1
    Join Date
    Dec 2011
    Posts
    353
    Mentioned
    3 Post(s)
    Quoted
    8 Post(s)

    Default Walking with dtms.

    How can I check my player is at a dtm? (on minimap)

  2. #2
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  3. #3
    Join Date
    Dec 2011
    Posts
    353
    Mentioned
    3 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    Simba Code:
    dtmrotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2);

    ~shut
    I mean like when its standing on the dtm. Like an area he is standing in but instead using area a dtm.

  4. #4
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  5. #5
    Join Date
    Dec 2011
    Location
    Texas
    Posts
    348
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think he means to check if you have arrived at your dtm point?

    I think:

    If dtmrotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2) Then

    WriteLn('Arrived at DTM");

  6. #6
    Join Date
    Dec 2011
    Posts
    353
    Mentioned
    3 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Jhangir View Post
    I think he means to check if you have arrived at your dtm point?

    I think:

    If dtmrotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2) Then

    WriteLn('Arrived at DTM");
    No dtmrotated returns like true in my experince as soon it sees it. But like u said I wanne be sure I stand at the point or near it.

  7. #7
    Join Date
    May 2007
    Location
    England/Liverpool
    Posts
    1,004
    Mentioned
    9 Post(s)
    Quoted
    106 Post(s)

    Default

    how about using this euphemism's
    Object DTMs
    http://villavu.com/forum/showthread.php?p=847813

  8. #8
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  9. #9
    Join Date
    Dec 2011
    Posts
    353
    Mentioned
    3 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    oh, well do a DTMRotated
    then check to see if x, y is within a certain didtance

    Simba Code:
    If dtmrotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2) Then
      if (Distance(x, y, MMCX, MMCY)<=20)) then
        Writeln('We have arrived');

    ~shut
    Thanks will try this.

  10. #10
    Join Date
    Sep 2010
    Location
    Azeroth
    Posts
    395
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    We have arrived at king Camelots Castle!!! Quick YoHan Grab the Goats!

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
  •