Thread Tools Display Modes
11-11-12, 10:28 PM   #1
Displaysia
A Kobold Labourer
AddOn Compiler - Click to view compilations
Join Date: Oct 2012
Posts: 1
BT4 Custom Conditionals

I have a kgPanel background parented and anchored to BT4PetButton1.

I use the following custom conditional in BT4:

[@target,exists]show;[combat]show;[pet,exists]show;[pet,noexists]hide;hide

It shows/hides just fine with the target / combat conditionals. My problem is that the kgpanel background doesn't hide when I don't have a pet active. My guess is that my pet conditionals aren't correct.

What I don't know how to do is get the BT4 "Hide without Pet" checkbox option present in my custom conditionals.
  Reply With Quote
11-11-12, 11:43 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
The correct opposites are "pet" and "nopet", not "pet, exists" and "pet, noexists" -- the latter actually mean "if I have a pet, and my target exists" and "if my pet exists, and my target doesn't exist".

Also, you can condense that a lot:

Code:
[exists] [combat] [pet] show; hide
This means "if my target exists OR I'm in combat OR I have a pet, show; otherwise, hide".
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » BT4 Custom Conditionals


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