Originally Posted by Spyro
They have added events and API for nameplates, am I dreaming?
|
Looks like a few events (lifecycle-related: create, display size changed, buff/debuff manifest changed, etc), and indeed some sort of API available via the "C_NamePlate" global.
Another poster seems to suggest that the "name plate unit" concept I am seeing in the Blizzard LUA is not an actual unitid, but some sort of simplistic numbering scheme. However, I am seeing this identifier used in conjunction with checks to see if it corresponds to the player or a friendly unit, to fetch the nameplate corresponding to it (via a function member of "C_NamePlate"), and collect buff/debuff information, etc. This suggests this is not some vacuous abstraction, but something that can be used to validate certain information about the unit in question. Maybe an actual unit "GUID"?
Dunno what restrictions on changing look/feel will come along with this. Some of their changes in the past have seemed to be aimed at making it difficult to use nameplates as a targeting aid in PvP.