I'm experimenting with making addons and have found an issue that I haven't been able to solve by pulling apart other mods (Enemy and Pure are fantastic learning resources!).
Hypothetical question: if I have an object's ID and that object is not currently targeted by the player, is there any way of looking up the display name of the object or any other details about it (friendly/hostile, player/NPC, etc)?
Thank you
edit: "GetNameForObject" seems to always return nothing
Any way of looking up an object's name via it's id?
Forum rules
Before posting on this forum, be sure to read the Terms of Use
Before posting on this forum, be sure to read the Terms of Use
Ads
Re: Any way of looking up an object's name via it's id?
i believe the dev tools have something like that.
https://warapi.fandom.com/wiki/WAR_API
Look at "Devbar" download it inside is a tool called "Tooltip Spy" and "APV"'
Tooltip spy is what you need i believe: show you info on your current hover over item: Like Id's and stuff see picture
APV give you info over you characters spells and abilities. Like SpellID
https://warapi.fandom.com/wiki/WAR_API
Look at "Devbar" download it inside is a tool called "Tooltip Spy" and "APV"'
Tooltip spy is what you need i believe: show you info on your current hover over item: Like Id's and stuff see picture
APV give you info over you characters spells and abilities. Like SpellID