#Lifebloom tracker sends sound cues even it conditionals are not initiated

34 messages · Page 1 of 1 (latest)

steel torrent
#

I made an attempt at a Lifebloom tracker in a single aura. It's supposed to loop a sound cue if the following conditionals are met:

  1. Player is in combat
  2. Player has more than 0 hp
  3. Affected Unit Count of Lifebloom = 0.
  4. If the remaining duration of current Lifebloom is less than 5 seconds

If these conditionals are no longer met, the sound should stop.

I use trigger 1 to be tracking Lifebloom (without Undergrowth) in Smart Group. Trigger 2 is Lifebloom with Undergrowth. The aura do not need to make a sound if there is just a single Affected Unit and not 2 with Undergrowth.

I would really appreciate some fresh eyes on this as it makes me crazy currently

https://wago.io/Oy0A9hJp3

Wago.io is a database of sharable World of Warcraft addon elements

steel torrent
#

Anyone? 😦

cunning vine
#

the aura do not need to make a sound if there is just a single Affected Unit and not 2 with Undergrowth.
why do you need to differentiate between the 2 different lifeblooms then?

#

if you only want the sound to play when there are 0 units affected. just track lifebloom via names, that covers both of them

steel torrent
#

Yeah that is an option for sure. I think the problem I'm facing right now might be regardless of how they are tracked right? As it tend to trigger the sound even if it shouldn't. If I start combat with lifebloom it triggers the sound as if there was none but later once the buff is re-applied it tends to stop. Could it be due to trigger or have i set up the sound conditionals wrong?

#

If I track via name instead of Spell-ID it won't be usable for people with other language clients right?

gloomy delta
#

is it set to all of?

steel torrent
gloomy delta
#

i had problems like this when in conditions i set to any trigger instead of all conditions

steel torrent
#

Yeah i mean, it has to check for all conditions to start the sound but any condition to stop it. However I don't know where it could have gone wrong

cunning vine
steel torrent
cunning vine
#

no, enter one ID of lifebloom in name(s)

#

that's enough

#

all it does is tell the aura to look for buffs with that name. they both have the same name, and you don't wanna do things differently depending on which one it is, so entering once covers everything.
and if you enter the ID then WA just looks at the ID and grabs the name of that buff. That way it works for all languages

steel torrent
#

Aha! I did not know you could do that!

#

When doing the looping and stopping of sound. How should i construct the conditional then? For now it seems like it doesn't go over the initial stop conditional but just keeps on looping even if it's supposed to stop

cunning vine
#

Affected Unit Count of Lifebloom = 0.
If the remaining duration of current Lifebloom is less than 5 seconds
these don't work together, what do you mean?

#

if you have no lifeblooms out, there is no duration

#

so you mean "no lifeblooms out OR duration < 5)?

steel torrent
#

yes

#

exactly

#

sorry for confusion

cunning vine
#

you didn't quite phrase it like that

steel torrent
#

my bad

gloomy delta
#

oh i did read that right then

steel torrent
#

I've done it in two steps for the aura currently, so I think I wrote it as I had thought of it. Not in the same context. My bad

#

The order of operations when i made the aura was to check if there was 0 lifeblooms out. If there was 0 then the loop started. If there was Lifeblooms out it would check if the remaining duration was less than 5 sec. If it was less then it would loop.

If a lifebloom was cast during any of the loops it would stop.

cunning vine
#

here, for testing purposes I didn't tick "only load in combat" though

#

just enable that

#

it only loads in combat and when you're alive
it starts playing a sound when 0 lifeblooms are out, or when the duration is less than 5s
otherwise it stops the loop
(when it unloads, so when you die or exit combat, it does also stop the loop via actions -> on hide)

steel torrent
#

Oh cool, I've struggled with the before. Hence the health and combat check. This is a lot smarter. I will have a look as soon as I've had dinner!

steel torrent
#

Yeah soundwise it's perfect atm! I had in mind i wanted it to be an icon as well. I realize now this is probably how my problems started. As I wanted to do some changes depending on Undergrowth specced or not.