Hello,
Loot drop is using
Code:
local icon, _, _, _, _ = GetItemLinkInfo( itemName )
with the event
Code:
self.control:RegisterForEvent( EVENT_LOOT_RECEIVED, function( _, ... ) self:OnItemLooted( ... ) end )
But sometimes, icon information is missing.
(In fact alway when it's a quest item that is looted)
for the moment the workaround is
Code:
if ( not icon or icon == '' ) then
icon = [[/esoui/art/icons/icon_missing.dds]]
end
How could have i the icon name ?
There is an icon im my bag, so how should i do to take it with the loot event ?