#hide aura
78 messages · Page 1 of 1 (latest)
!scanevents
Make custom aura B send a fake event when it's active.
Catch that event in aura A, and untrigger it when it sees that event.
Alternatively, you could just include whatever you're checking for in aura B as an untrigger in aura A. But depending on how complex aura B is, that's more work/worse performance than using the scanevents approach.
im sorry im a total noob in this, how can i make a fake event for an aura?
The wiki link explains it in detail, it even has an example aura to look at.
okay tyvm!
If you're stuck, you can share the 2 auras here (as wago exports) and I (not at the PC) or someone else might have a look.
yea please the language of the site is mostly alien to me
i have no lua or any kind of code knowledge
how can i share it as wago export?
Right click, export (in the list on the left)
Copy the text, go to wago.io
Paste it in there, click the button
Share the link
basically i want the dreamstate aura group to be hidden whenever any of the eclipse group auras are active
i also tried to see if chatgpt would have a solution, it gave me this custom check
function()
return WeakAuras.GetAura("ArcaneLaw", "player") ~= nil
end
well the names are wrong but in any case
it didnt work
Are these really custom auras?
Yeah but they seem to only use the default options of the add-on, otherwise it wouldn't say that it can't find any custom code.
All good, just expected code when I read custom
aah sorry
no i just used default trigger to get an aura which would then display a graphic
Then you won't really need to do any coding yourself.
I'm on mobile and can't look at the auras ingame, and scrolling through the table data on wago is really a hassle.
But since you use default triggers: just replicate the triggers of the eclipse auras (or one they all share to be shown) on your dreamstate auras.
Then you can make a small custom activation function to hide your dreamstate auras when they see the trigger that would activate the eclipse ones.
!customactivation
Required for Activation = custom
function(trigger)
return trigger[1] and (trigger[2] or trigger[3])
end
https://github.com/WeakAuras/WeakAuras2/wiki/Aura-Activation-and-Deactivation#custom
The logic is, that if an eclipse aura requires trigger X to be shown. And a dreamstate aura requires trigger Y to be shown.
Then you can just add trigger X to the dreamstate aura, and make a custom activation function at the top of that auras trigger tab like:
return t[Y] and not t[X]
end```
(Where X and Y are the trigger numbers of those triggers in the tab, so e.g. 1 and 2)
Since X shows the eclipse thing, the dreamstate aura will hide itself once it sees X active like this.
okay do i have to change anything else in the custom fuction?
appart from Y and X?
Well it depends on how your triggers are set up for any given aura.
If right now you only require one trigger (Y) to show it, then like this is fine.
If you require two or more, then you'd do return (t[Y] and t[Z]) and not t[X]
alternatively i could just wait until you can go to your pc and i could check it from there
I know this is a bit abstract right now, but without looking at the auras myself this all I can do
yea i understand ty for helping as is
also there is no way of adding 2 individually controlled textures in 1 aura right?
No, unless you use a cloning trigger (something that tracks stuff on multiple units/events) or make a custom coded TSU trigger
okay cool
You could also show me screenshots of the trigger setups of one of your eclipse auras, and one of your dreamstate auras, and I can walk you through it
i need neetro to send screrenshots right?
i guess i could upload them to a 3rd party site tho
No 😄
You can just paste any image here
As long as it's not over 50mb or something like that
oh thats great xd
this is the group of auras i want hidden
when any of the other (uploading) auras are active
oh thats the wrong pic
uh no bears were harmed during the testing of this
I'll need a screenshot of the trigger window of Eclipse 1 and Eclipse 2 then
yup on it
No need to include anything else btw, just the full trigger window is enough
im usually terribly at explaining so i end up over explaining things
the other eclipse is the same just different spell DI
ID
And that's the only trigger each of those have, yes?
yea
And your dreamstate auras also only have one trigger each?
yup
Ok, then you can go to your dreamstate auras.
On each of them, you add the triggers from your eclipse auras. Just make a 2nd and 3rd trigger that are exactly the same as the 2 triggers from your eclipse auras.
ok
Then you go to the top, change "required for activation" to "custom"
And in there you put:
return t[1] and not (t[2] or t[3])
end```
(You could also just basically revert the trigger requirements of your eclipse triggers, and then require "all" for activation instead of using a custom function)
it worked! tyvm ❤️
can i set the custom function as a group trigger instead of individually doing it to each dream state aura?
group dreamstate trigger*
nvm i can test that heh
tyvm have a nice day!
Nah, a group doesn't have triggers. The individual auras do.