View Single Post
01-15-16, 01:24 AM   #13
acapela
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 241
Originally Posted by Spyro View Post
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.
__________________
Retired author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"