Thread Tools Display Modes
04-08-15, 06:08 AM   #1
Kupotek
An Aku'mai Servant
 
Kupotek's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 38
KGPanels Help

(Solved)

Does anyone know what script I could add so that a panel vanishes when I am in vehicle or pet battle mode?

That way my panel isn't in the way of the UI. What panel do you recommend I set to Parent and Anchor?

Thanks!
__________________
Panther UI | My Home on the Web

Last edited by Kupotek : 04-08-15 at 05:49 PM.
  Reply With Quote
04-08-15, 09:41 AM   #2
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Originally Posted by Kupotek View Post
Does anyone know what script I could add so that a panel vanishes when I am in vehicle or pet battle mode?

That way my panel isn't in the way of the UI. What panel do you recommend I set to Parent and Anchor?

Thanks!
Parent and then anchor your panel to something that disappears when you want the panel to disappear. Like the panels behind my action bars. I have them parented and anchored to action buttons on the action bars so that they go away in a pet battle and whenever the action bars go away. In the case of the center stack of action bars I have the panel large enough to back up all three bars, and then parented and anchored to action button 1 of action bar 1. The two side bars I have parented and anchored to different buttons, and my "trap bar" I have everything set to button 1.
Click image for larger version

Name:	kgPanelsScreenShot.jpg
Views:	243
Size:	151.9 KB
ID:	8562(Sorry! I didn't realize that I didn't attach a screen shot. DOH!!)
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!

Last edited by jeffy162 : 04-08-15 at 10:01 AM. Reason: I forgot to add a screen shot. SHEESE!!
  Reply With Quote
04-08-15, 09:51 AM   #3
Kupotek
An Aku'mai Servant
 
Kupotek's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 38
I'll try that, thanks!
__________________
Panther UI | My Home on the Web
  Reply With Quote
04-08-15, 10:10 AM   #4
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
You are welcome. I hope it works out for you.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote
04-08-15, 10:22 AM   #5
Kupotek
An Aku'mai Servant
 
Kupotek's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 38
It worked! Sweet.
__________________
Panther UI | My Home on the Web
  Reply With Quote
04-08-15, 11:00 AM   #6
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Great!!!!!(10 characters)
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » KGPanels Help


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