Originally Posted by Vrul
You can run this after your XML:
Code:
for id = 1, MAX_BOSS_FRAMES do
local frame = _G[("mBoss%uTargetFrame"):format(id)]
if frame then
RegisterStateDriver(frame, "visibility", ("[@boss%u,exists] show; hide"):format(id))
end
end
|
Running this shows them okay but without a TargetFrame_Update() they look like this (the bottom ones)
Also, when two bosses are pulled at the same time it throws another error.
Code:
1x [ADDON_ACTION_BLOCKED] AddOn '!mUI' tried to call the protected function 'Boss1TargetFrame:Show()'.