#Accessing Buffed Unit in Animation Custom Function when using Smart Group Trigger

1 messages · Page 1 of 1 (latest)

burnt pier
#

Hello,

I'm playing drood and I'd like to track my second Lifebloom buff on any other character than me. So I decided to use to use a trigger using "smart group" unit.

Now I want the color of the bar to be the color of the buffed unit's class. I went for an animation custom function to do that.

My question is, how to have the proper buffed unit's name, as aura_env.state.trigger.unit does not work in that situation, because it is "group" in that context, which I believe makes no sense for UnitClass.

In another context, when the trigger's unit is set to "player", "unit" is equal to "player" and it works, but I'd like to know how to do it when using "smart group" unit.

Thx

🙏

stiff mirage
#

I believe it's just aura_env.state.unit

minor fulcrum
#

where did you get this aura_env.state.trigger from?

burnt pier
acoustic coral
#

i think aura_env.state.trigger is information about the trigger (what events its watching and what not)