Thread Tools Display Modes
01-11-06, 07:17 AM   #1
Tinche
A Murloc Raider
 
Tinche's Avatar
Join Date: Jan 2006
Posts: 3
Advanced DAB

Ok, let's say I'm a druid and I want to make my Mark of the Wild button smart. What I want to do is the following...

If I have nothing selected, or a hostile target, and the buff is inactive on me, I want the button to show. If I have nothing selected (or a hostile target) and the buff is active on me, I want the button to hide.

But...

If I have a friendly target selected and they aren't buffed with it, the button should show. If they are buffed, it should be hidden. The friendly target's status should have greater priority over my buffage status.

Now, this doesn't seem like such a big problem, EXCEPT... I can't seem to use the No Target Selected event properly. Or I don't understand correctly how overrides work.

if anyone could provide guidance on this issue, or some documentation, I'd gladly RTFM.

If Loz comes screaming because someone already asked this, sorry in advance

Ta-ta
  Reply With Quote
01-11-06, 07:47 AM   #2
Apate
An Aku'mai Servant
 
Apate's Avatar
Join Date: Jan 2006
Posts: 38
what is your setup right now (with overrides)?
  Reply With Quote
01-11-06, 08:17 AM   #3
Tinche
A Murloc Raider
 
Tinche's Avatar
Join Date: Jan 2006
Posts: 3
I tried something like this:

Code:
1: Buff inactive on player, show, overridden by 4

2: Buff active on player, hide, overridden by 3

3: Buff inactive on target, show, no overrides

4: Buff active on target, hide, no overrides

5: No target selected, hide, overriden by 1

6: No target selected, show, overriden by 2
This doesn't quite work... Any tips?

/confused
  Reply With Quote
01-11-06, 10:00 AM   #4
Apate
An Aku'mai Servant
 
Apate's Avatar
Join Date: Jan 2006
Posts: 38
I think you want

1. Buff inactive on player - show - no overrides
2. Buff inactive on target - show - 3
3. Target is hostile - hide - 1
4. No target - hide - 1

I might be missing something; no way for me to verify it atm
  Reply With Quote
01-12-06, 08:07 AM   #5
Tinche
A Murloc Raider
 
Tinche's Avatar
Join Date: Jan 2006
Posts: 3
Re:

Doesn't quite work the way I want it to.

Basically, if I can buff something I can buff, I want the button visible. Else, hidden. Also my target status should override my own, so if I'm not buffed and my friendly target is, the button should hide until I select nothing, a hostile target or myself.

Thanks for your time, Apate.

Can anyone provide a link to some information on how the overrides exactly work? Can I chain them? Example:

1: overridden by 2

2: overridden by 3

3: overridden by 1
  Reply With Quote
01-12-06, 10:21 AM   #6
Guulak
A Murloc Raider
Join Date: Jan 2006
Posts: 7
Originally Posted by Tinche
Can anyone provide a link to some information on how the overrides exactly work? Can I chain them? Example:

1: overridden by 2

2: overridden by 3

3: overridden by 1
I'm no programmer, but this doesnt seem like a good idea logically. I've been messing with the DAB options for my priest (with like 9234 floaters ) and so I'll recommend what I would do, no guarentees tho.

Code:
1. No target Selected = hide overridden by 3
2. Hostile Target Selected = hide   overridden by 3
3. Buff is inactive on player = show
4. Buff is active on player = hide   overridden by 7
5. Target is friendly player = show   overridden by 6
6. Buff is active on target = hide
7. Buff is inactive target = show   overridden by 2
got to run, but I think that's it

GL!
  Reply With Quote
01-12-06, 10:23 AM   #7
Apate
An Aku'mai Servant
 
Apate's Avatar
Join Date: Jan 2006
Posts: 38
I think 3 might need an override from 6
  Reply With Quote
01-12-06, 10:23 AM   #8
Lozareth
An Onyxian Warder
 
Lozareth's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 366
Overrides define other conditions that prevent this condition from becoming true if any one of those conditions is true. Multiple overrides are separated by a comma: 1, 3, 5 for example.
__________________
High Pope of the Divine Chihuahua
http://www.discordmods.com
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » Advanced DAB


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