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.
|