Any way of looking up an object's name via it's id?
Posted: Tue Jun 09, 2020 10:23 pm
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
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