Quantcast
WoWInterface - View Single Post - Simple custom nameplates
View Single Post
01-26-19, 04:06 AM   #2
Taudier
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 24
1) kill everything : NamePlateDriverFrame:UnregisterAllEvents()
InterfaceOptionsNamesPanelUnitNameplatesMakeLarger.setFunc = nil

2) "NAME_PLATE_CREATED" function(self, event, frame )

3) "NAME_PLATE_UNIT_ADDED" function(self, event, unit)

local frame = C_NamePlate.GetNamePlateForUnit(unit)

4) "NAME_PLATE_UNIT_REMOVED" function(self, event, unit)

and look at blizzard source code

other important functions are :

C_NamePlate.SetNamePlateFriendlySize
C_NamePlate.SetNamePlateEnemySize

to set the clickable size of the nameplates

Last edited by Taudier : 01-26-19 at 04:26 AM.
  Reply With Quote