Recent Topics

Ads

Need help getting enemy target (addon development)

Here you can post addons, or anything related to addons.
Forum rules
Before posting on this forum, be sure to read the Terms of Use
User avatar
Scottx125
Posts: 966

Need help getting enemy target (addon development)

Post#1 » Tue Aug 16, 2022 1:04 am

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?
Spoiler:
Seiigfrid RR 8X WP | Arthasus RR 7X KOTBS | Zalthazar RR 5X BW
Image
For the Gif in it's full glory:
Now a member of Oath.

Ads
User avatar
Scottx125
Posts: 966

Re: Need help getting enemy target (addon development)

Post#2 » Wed Aug 17, 2022 12:22 am

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?
Spoiler:
Seiigfrid RR 8X WP | Arthasus RR 7X KOTBS | Zalthazar RR 5X BW
Image
For the Gif in it's full glory:
Now a member of Oath.

User avatar
sullemunk
Addon Developer
Posts: 1213

Re: Need help getting enemy target (addon development)

Post#3 » Wed Aug 17, 2022 8:26 am

Image
Image Ethreal   Image Corque   Image Urgiz   Image Loxley   Image Chilli   Image Maduza

Who is online

Users browsing this forum: No registered users and 29 guests