Hello
As melee, you can get a wrong position without noticing it for some seconds because of all the spells and stuff on screen ....
So I'm making a simple addon which beeps if I'm out of range.
This is the code: http://pastebin.com/pj26SXQr
Next step would be to check if the target is in front of me.
So I'm searching some kind of way to check this.
I tried with getplayerfacing and the coordinates, but since you cannot get coordinates for ungrouped units, it fails.
Any idea's ?