View Single Post
05/24/14, 02:26 PM   #5
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 655
Originally Posted by Tar000un View Post
I think you need to get your position and the target's position in order to get the distance.

Reading the wiki, i saw a (API) Global:ComputeStringDistance(), may that could help.
I saw that too but everything I tried to pass to it gave me specific integers. Like 10, 11, 14, 17. I think 11 was when I had no target. I have no idea what the arguments are.
  Reply With Quote