Thread Tools Display Modes
11-05-12, 12:13 PM   #1
atticu5
A Defias Bandit
Join Date: Mar 2008
Posts: 3
Bartender4 Custom Conditional Help

I'm trying to get a bar to hide when out of combat, and show when i have a target selected or in combat.

this is what i have
Code:
[@target]show;[combat]show;hide
but its not working for some reason. did i do something wrong?
  Reply With Quote
11-05-12, 12:44 PM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
I'm not familiar with Bartender4 but this might work.

Code:
[@target,exists][combat]show;hide
  Reply With Quote
11-05-12, 12:49 PM   #3
atticu5
A Defias Bandit
Join Date: Mar 2008
Posts: 3
Originally Posted by Dridzt View Post
I'm not familiar with Bartender4 but this might work.

Code:
[@target,exists][combat]show;hide
ty sir the "exists" seemed to be the problem as you pointed out , i kept working at it and figured it out.
now i have this for my main bar
Code:
[@target,exists]show;[combat]show;fade
and this for my other 2 bars
Code:
[petbattle]hide;[overridebar]hide;[vehicleui]hide;[@target,exists]show;[combat]show;fade
now i have a new question if i mouseover the first bar it fades in and the others dont, is there a way i can have them all fade in when i mouseover any of the three bars?
  Reply With Quote
11-05-12, 01:10 PM   #4
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
Code:
[@target,exists][combat]show;[petbattle][overridebar][vehicleui]hide;fade
What does this do?
  Reply With Quote
11-05-12, 01:18 PM   #5
atticu5
A Defias Bandit
Join Date: Mar 2008
Posts: 3
Originally Posted by Dridzt View Post
Code:
[@target,exists][combat]show;[petbattle][overridebar][vehicleui]hide;fade
What does this do?
same as
Code:
[petbattle]hide;[overridebar]hide;[vehicleui]hide;[@target,exists]show;[combat]show;fade
just more elegant lol
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Bartender4 Custom Conditional 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