#hide aura

78 messages · Page 1 of 1 (latest)

jolly terrace
#

How to hide aura custom aura A when custom aura B is active?

rancid yacht
#

!scanevents

rancid yacht
#

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.

jolly terrace
#

im sorry im a total noob in this, how can i make a fake event for an aura?

rancid yacht
#

The wiki link explains it in detail, it even has an example aura to look at.

jolly terrace
#

okay tyvm!

rancid yacht
#

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.

jolly terrace
#

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?

rancid yacht
#

Right click, export (in the list on the left)

#

Paste it in there, click the button

#

Share the link

jolly terrace
#

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

rancid yacht
#

Are these really custom auras?

jolly terrace
#

they use graphics from in game

#

but yeah

rancid yacht
#

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

jolly terrace
#

aah sorry

#

no i just used default trigger to get an aura which would then display a graphic

rancid yacht
#

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

pseudo oliveBOT
jolly terrace
#

oh

#

so i will kinda mege them?

rancid yacht
#

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.

jolly terrace
#

okay do i have to change anything else in the custom fuction?

#

appart from Y and X?

rancid yacht
#

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]

jolly terrace
#

alternatively i could just wait until you can go to your pc and i could check it from there

rancid yacht
#

I know this is a bit abstract right now, but without looking at the auras myself this all I can do

jolly terrace
#

yea i understand ty for helping as is

#

also there is no way of adding 2 individually controlled textures in 1 aura right?

rancid yacht
#

No, unless you use a cloning trigger (something that tracks stuff on multiple units/events) or make a custom coded TSU trigger

jolly terrace
#

okay cool

rancid yacht
#

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

jolly terrace
#

i need neetro to send screrenshots right?

#

i guess i could upload them to a 3rd party site tho

rancid yacht
#

No 😄

#

You can just paste any image here

#

As long as it's not over 50mb or something like that

jolly terrace
#

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

rancid yacht
#

I'll need a screenshot of the trigger window of Eclipse 1 and Eclipse 2 then

jolly terrace
#

yup on it

rancid yacht
#

No need to include anything else btw, just the full trigger window is enough

jolly terrace
#

im usually terribly at explaining so i end up over explaining things

#

the other eclipse is the same just different spell DI

#

ID

rancid yacht
#

And that's the only trigger each of those have, yes?

jolly terrace
#

yea

rancid yacht
#

And your dreamstate auras also only have one trigger each?

jolly terrace
#

yup

rancid yacht
#

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.

jolly terrace
#

ok

rancid yacht
#

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)
jolly terrace
#

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!

rancid yacht
#

Nah, a group doesn't have triggers. The individual auras do.