Quantcast
WoWInterface - View Single Post - 3D portrait background color not refreshing
View Single Post
04-22-18, 01:50 AM   #3
runamonk
A Wyrmkin Dreamwalker
 
runamonk's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 56
Originally Posted by GreyFox777 View Post
Need to be UNIT_NAME_UPDATE event added, but got always errors...

Any help would be appericated
look at the core\tags.lua file.

There is a tag for name, there is table called events. You need to add the additional events you need there. However I am seeing that UNIT_NAME_UPDATE is already there.

Lua Code:
  1. -- Name
  2. tags['lumen:name'] = function(unit, rolf)
  3.   return UnitName(rolf or unit)
  4. end
  5. events['lumen:name'] = 'UNIT_NAME_UPDATE UNIT_CONNECTION UNIT_ENTERING_VEHICLE UNIT_EXITING_VEHICLE'
  Reply With Quote