Originally Posted by GreyFox777
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:
-- Name
tags['lumen:name'] = function(unit, rolf)
return UnitName(rolf or unit)
end
events['lumen:name'] = 'UNIT_NAME_UPDATE UNIT_CONNECTION UNIT_ENTERING_VEHICLE UNIT_EXITING_VEHICLE'