Thread Tools Display Modes
12-31-18, 03:16 PM   #1
Xancepants
A Deviate Faerie Dragon
Join Date: Oct 2014
Posts: 17
Script to Hide Unit Frames upon entering Arena?

Greetings,
Would anybody happen to know of a script to hide Unit Frames upon entering Arena? In particular the Player Frame & Target Frame ? Then have them reload/show after you leave the arena?

I think it would look something like this, except the event would be entering arena.

/script PlayerFrame:SetScript("OnEvent", nil);
/script PlayerFrame:Hide();
Thank you in advance for any help!

Last edited by Xancepants : 12-31-18 at 03:30 PM. Reason: providing more info/context
  Reply With Quote
12-31-18, 07:01 PM   #2
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 404
I don't do arenas to test but you could try:
Code:
RegisterStateDriver(PlayerFrame, "visibility", "[@arena1,exists] hide; show")
RegisterStateDriver(TargetFrame, "visibility", "[@arena1,exists][noexists] hide; show")
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Script to Hide Unit Frames upon entering Arena?

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