#WA only 3 triggers, cant wrap my head around it

13 messages · Page 1 of 1 (latest)

ionic hedge
#

Hey guys.
I'm trying to create a WA and I thought it would be fairly simple, but I've been trying stuff out for the past hour and cant seem to get it going.

I'm using 3 triggers;

[1] = insect swarm
[2] = lunar eclipse
[3] = bloodlust

Aura needs to be active when [1] = true, but only when both [2] and [3] are not true.

i've come up with this, but it aint working:

    
    return trigger[1] and (not trigger[3] and not trigger[4]);    
end```


Hope ya'll can help me out!
gusty remnant
#

If they're all buff triggers then you can have the triggers active when the buff is not present and then the activation simply becomes All

ionic hedge
#

i tried that, but then it activates when either 2 or 3 is missing, but they needs to be both missing to not activate the aura

gusty remnant
#

Then you didn't set them correctly in the triggers.

#

I'm talking about the Show = Aura(s) Missing setting

ionic hedge
#

1 is set to :

gusty remnant
#

You're inverting 2 and 3 in your activation. I'm saying that you can set them to not finding the buffs in those triggers and use All

ionic hedge
#

im not sure i understand... so i should use activation to all triggers? and set t[1] to aura found, and t[2] and t[3] to auras missing?

gusty remnant
#

I don't know what you're trying to show with your trigger1 but that can be whatever you need it to be.
The other 2 though, you only use for activation, but you're making your life more complicated than it needs to be

ionic hedge
#

i want my action bar button to glow when my target hasn't got insect swarm on him. but if both bloodlust and lunar eclipse are active on me, i dont want it to show

gusty remnant
#

Ah, I see.
t1 - debuff - target - missing
t2 - buff1 - player - found
t3 - buff2 - player - found
function(t) return t[1] and not (t[2] and t[3]) end

ionic hedge
#

cool, gonna try it out!

#

aah many thanks m8. seems to be working 🙂 haven't tested t3 yet, as i cant bloodlust atm, but its working in conjuction with t2 already