Hello to all,
Somebody have a code for put an image on a X nameplate?
For example, Im loading this table:
Lua Code:
BangCharHateds = {
["Demotatz-Quel'Thalas"] = true,
["Evies"] = true,
}
Is possible assign X image on their nameplate? Actually I check fine if is a range and fires a frame:Show()...
Lua Code:
inInstance, instanceType = IsInInstance() --print(BangCharHateds[destName])
timeStamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, prefixParam1, prefixParam2, dummyparam, suffixParam1, suffixParam2 = ...
if not inInstance then
if SpellEvents[event] and BangCharHateds[sourceName] and bit.band(sourceFlags, COMBATLOG_OBJECT_REACTION_HOSTILE) > 0 then
frame:Show()
........