Temple+ Modding Question

Discussion in 'General Modification' started by _doug_, Feb 21, 2018.

Remove all ads!
  1. _doug_

    _doug_ Member

    Joined:
    Jul 9, 2009
    Messages:
    55
    Likes Received:
    1
    Added a flag to inherit the value from the base race. I turned it on for all but drow and svirfneblin. At this point I am done for this version unless I run into something else...
     
  2. sirchet

    sirchet Force for Goodness Moderator Supporter

    Joined:
    Dec 6, 2003
    Messages:
    3,690
    Likes Received:
    46
    Lolth does have non-drow followers and some drow don't worship Lolth.
     
  3. _doug_

    _doug_ Member

    Joined:
    Jul 9, 2009
    Messages:
    55
    Likes Received:
    1
    Question about calculating distances: I am using the distance_to() method of the character in an attempt to calculate the distance between the character's current location and where they started the round. When I pass the location and offset of their position at the beginning of the round, I get an answer that is different than the path length the first time the character moves. This makes me think that I am doing something wrong. Do you know how I should calculate that distance?
     
  4. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    2,633
    Likes Received:
    64
    I think distance_to is subtracting the character radius.
     
  5. _doug_

    _doug_ Member

    Joined:
    Jul 9, 2009
    Messages:
    55
    Likes Received:
    1
    It seemed to be off by a small amount (2 feet or s0) regardless of how far the character moved so that would make sense. is there a way to get the character radius? Or should I try adding a second method that calculates path distance?
     
  6. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    2,633
    Likes Received:
    64
Our Host!