View Single Post
03-27-19, 08:11 AM   #3
bender1453
A Fallenroot Satyr
Join Date: Mar 2019
Posts: 21
OnLoad

self:RegisterEvent("PLAYER_TARGET_CHANGED")
self:Hide()

OnEvent

if ( UnitClassification("target") == "worldboss" ) then
self:Show()
else
self:Hide()
end

As soon as I change worldboss with elite, it starts working, well, for every elite target. Tried it with sample scripts from the wiki as well. Also tried "boss" "raidboss" and some other combinations to test it. No luck.

Last edited by bender1453 : 03-27-19 at 09:17 AM.
  Reply With Quote