View Single Post
04-22-18, 04:21 AM   #4
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
Originally Posted by runamonk View Post
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'
Tags is only for text... but i have added this event to ouf itself, now working fine.
  Reply With Quote