I'm trying to modify some of my macros to allow me safer and faster means of accomplishing goals. One major issue I've never resolved, but have worked around in questionable ways, is the ability to check the "NearestSpawn" from the perspective of my target.
If I /echo ${NearestSpawn[npc radius 1000].Distance}
It will return with the distance of the spawn nearest me.
I want to be able to have something that will return the distance of the nearest spawn from my target's (or my target's loc) point of view.
Something like /echo ${NearestSpawn[npc radius 100 loc X Y Z].Distance}
Or perhaps /echo ${NearestSpawnToTarget[npc radius 1000].Distance}
Does anyone have any ideas on how this could be done?
If I /echo ${NearestSpawn[npc radius 1000].Distance}
It will return with the distance of the spawn nearest me.
I want to be able to have something that will return the distance of the nearest spawn from my target's (or my target's loc) point of view.
Something like /echo ${NearestSpawn[npc radius 100 loc X Y Z].Distance}
Or perhaps /echo ${NearestSpawnToTarget[npc radius 1000].Distance}
Does anyone have any ideas on how this could be done?