Page 1 of 1

Need help getting enemy target (addon development)

Posted: Tue Aug 16, 2022 1:04 am
by Scottx125
So, I'm trying to teak the RVAPI to give real time distance on enemy targets. I've no idea how to do RoR addon development so this is like trying to find a needle in a haystack, especially when very little of the original documentation survives in good condition. I'm wondering, is it possible to get an enemies MapPointData, via using their TargetInfo:UnitEntityId (I know there's EA_Window_OverheadMapMapDisplay and EA_Window_WorldMapZoneViewMapDisplay but neither provide anything aside from map location names or NPC's)? Or aside from that point is there a way of getting a targets point data through UnityEntityId so I can extract the distance?

Re: Need help getting enemy target (addon development)

Posted: Wed Aug 17, 2022 12:22 am
by Scottx125
Ok, I understand now that those functions only return positions of NPC's on the map. Is there any distance function in the WAR API to a target OR a way of getting a targets map position which does not actively have a map marker?

Re: Need help getting enemy target (addon development)

Posted: Wed Aug 17, 2022 8:26 am
by sullemunk