#Custom Trigger, check if another aura is active

10 messages · Page 1 of 1 (latest)

untold copper
#

Hello folks!
I often have the situation where I want to activate / show an aura based on the state of another aura if it is active / shown at the moment.

I know I can access in a custom lua function the trigger and its corresponding information with for example trigger[1]. Is there a way to access another aura with some code like "anotherAuraId.getTrigger(1).isActive" or something similar?

Why do I need this?

If u want to have for example two or more auras which should simulate some kind of rotation u need to setup for each aura some conditions. Each new aura which gets on top to the "rotation" needs to copy paste the condition from the previous auras. When you are creating more then just two or three auras based on this logic it is getting overwhelming / unclear.

Example:

  • First Aura: show/be active if dot A and dot B are not on target
  • Second Aura: show/be active if "First Aura" is not active and Spell X is not on CD
  • Third Aura: show/be active if "First Aura" and "Second Aura" are not active + ....

I hope this thread is well written enough for this forum. I am new here. Thank you for your help! 🙂

spare steeple
#

I don't think copying WA and adding new conditions for each next is too bad solution

#

other solution would be to create custom events, when WA is active and not, and create special trigger that correlates with these events, for each WA WeakAuras.ScanEvents()

#

better solution would be to rethink your problem, maybe you can put it into dynamic group - highest priority would be first WA, next would be the one that depends on first ... they are all shown but in order ... you can even limit the group to 1 element, which would display only the first one

untold copper
#

First, thanks for your answer! 🙂
The dynamic group option sounds nice, didn't though about that solution. This WA is in the end for a friend who is totally new to this game and is a little bit overwhelmed by the skill counts etc.
I will try this new solution. ^^

forest elbow
#

!hekiliadon just leaving this here since it fits

#

Can't type unlick

#

!hekiliaddon

tacit kilnBOT
untold copper
#

HolyMoly, thanks for that. Looking forward to test this!