Thread Tools Display Modes
04-11-21, 06:51 PM   #1
muleyo
A Deviate Faerie Dragon
Join Date: Apr 2021
Posts: 12
[Help] Hide myself from Blizzard Raid Frame

Hello,

I'd like to hide myself from Blizzard Raid Frame. Is there an addon for that? If not, could someone maybe provide me the code for it?

Thank you!
  Reply With Quote
04-21-21, 05:28 AM   #2
L3n1n
A Fallenroot Satyr
 
L3n1n's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 20
You can use this code:

Code:
hooksecurefunc("CompactUnitFrame_UpdateVisible", function(frame)
	if ( UnitExists(frame.unit) or UnitExists(frame.displayedUnit) ) and frame.unit == "player" then
		CompactUnitFrame_ClearWidgetSet(frame)
		frame:Hide()
		frame.unitExists = false
	end
end)
  Reply With Quote
04-21-21, 05:01 PM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Doubt that'll work in combat, raidframes are protected frames.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
04-21-21, 09:41 PM   #4
L3n1n
A Fallenroot Satyr
 
L3n1n's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 20
Originally Posted by SDPhantom View Post
Doubt that'll work in combat, raidframes are protected frames.
Yeah you are right it doesn't work in combat.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » [Help] Hide myself from Blizzard Raid Frame

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off