View Single Post
05/24/14, 03:17 PM   #8
Tar000un
 
Tar000un's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 47
Originally Posted by SinusPi View Post
That's a total red herring - string distance is the difference between two strings, like "tortoise" and "turquoise" would have like 3 differences.
Olol...
thanks x)

***

If an edge of the sector is the center, you could use a trigo functions.

Originally Posted by Sharlikran View Post

I need an equation to see if the target is A, which is outside the circle, or B which is inside the circle, and C which is the max distance.
Like i understood you, you want to check if A,B,C are in or out range.


And other thing i just got in mind : if you know a A position, which isnt a NPC and disabling the reticleover way, you may try to create a metatable of a Unit, to get a virtual npc with the approriate coords.

But imnt sure if that's possible, because i started to learn metatable today. x)

Last edited by Tar000un : 05/24/14 at 03:40 PM.
  Reply With Quote