Hi everyone,
I tried incorporating the GetDistanceFromPlayer() into the TargetWindow to know if i am close enough for spell damage and/or close enough for bandages etc.
However what I am seeing is quite strange. Sometimes figures seem to make sense. While walking tilewise the figure sometimes either stays or jump by 3-4 tiles.
My best guess would be that Z-coordinate is included in the distance. Which is understandable somehow, for this particual use case the Z coordinate should be completely irrelevant as only the x/y-distance counts.
So either this function is useful for something else and we need a GetXYDistanceFromPlayer() or the function should be changed.
Am I on the right track here?
Many thanks in advance.
- kongo
I tried incorporating the GetDistanceFromPlayer() into the TargetWindow to know if i am close enough for spell damage and/or close enough for bandages etc.
However what I am seeing is quite strange. Sometimes figures seem to make sense. While walking tilewise the figure sometimes either stays or jump by 3-4 tiles.
My best guess would be that Z-coordinate is included in the distance. Which is understandable somehow, for this particual use case the Z coordinate should be completely irrelevant as only the x/y-distance counts.
So either this function is useful for something else and we need a GetXYDistanceFromPlayer() or the function should be changed.
Am I on the right track here?
Many thanks in advance.
- kongo