#WA that pops up when u enter a dungeon
62 messages · Page 1 of 1 (latest)
!clickable
See this message #pins message for details on the perils of trying to make Auras clickable
Don't do clickable stuff in WA.
You could set a WA to load only in dungeons, and then go away once whatever you gotta do is done (if that's trackable)
The thing that I´m gonna do is press my keybind that toggles between normal graphic settings and raid graphic settings
You could untrigger your aura per custom event
Just add WeakAuras.ScanEvents("ZKOOG_UNTRIGGER") to the script you execute per macro
Catch that event in your WA and untrigger the WA with it
I´m not following you, I´m new to WA's :p Could u make the WA or write step by step what I need to do?
Lovely 🙏 I´ll be here
Wago.io is a database of sharable World of Warcraft addon elements
this will load in dungeons, and show this image:
and when you then do this in chat: /run WeakAuras.ScanEvents("ZKOOG")
it goes away
since you said you press some key to apply your settings, just make that a macro that includes WeakAuras.ScanEvents("ZKOOG") at some point
How do I get my keybind into a macro? Its this setting btw
Oh wow, didn't know there's a default keybinf for that now.
I assumed you did with a macro that sets the CVars directly
Then it's not gonna be as straightforward
Simply depends if you can detect that change happening.
What you can do is type /etrace in chat, hit enter
And then apply your graphics settings
See if there's an event that pops up when you do that
Doesn't seem like it detects it
Not even CVAR_UPDATE?
That's unfortunate.
If there's no event happening, then you can't track it/react to it
I could make it so that it stays on screen until you enter the first combat, if that's acceptable
Or I could check some of the relevant CVar values every second and see if they changed, and only then hide the aura.
But that's only valid if you only apply the settings once you're in the dungeon
Cant see anything that says Cvar update either
That´s acceptable, especially if we cant figure out a better option
I checked the source real quick and I found a workaround.
I'm back home in like 30mins and check it out
Ok, I´ll be here
Or you can just try it out yourself:
Type /run RunBinding("TOGGLEGRAPHICSSETTINGS")
In chat, see if that changes your graphics
If yes, then you can just make a macro with that
Nope, doesn't change the graphics
All good, can probably just remake the functionality of the binding then
Wago.io is a database of sharable World of Warcraft addon elements
reimport again, I updated it
and then you JUST need to do /run WeakAuras.ScanEvents("ZKOOG") in chat
you can just make a macro with that and bind it
I just copied the functionality straight from the source: https://github.com/Gethe/wow-ui-source/blob/742bf9604e0009bebb9a61a4f953d2661f8b387e/Interface/AddOns/Blizzard_FrameXML/Bindings_Standard.xml#L1386
Just tested it out and it worked for me
Awesome! Thank you very very much!! 🙏 🫶
It seems like it worked the first time I tried it, but after the first dungeon it doesnt pop up anymore when I enter a dungeon
Going to bed. Will check in tomorrow
I updated it
kinda just assumed that the setting persists, but ig it automatically changes back after exiting a dungeon. after all that's kinda the purpose of it
It's worth nothing that at this point, you could simply have the WA automatically apply the settings when entering a dungeon.
No need to click anything, no need for a popup. But that's your call.
Oh. Do you know how?
like that
it just loads in dungeons and runs the code once when it shows (you won't see it)
instead of reacting to you sending the event
Awesome! Thanks!! 🙏 May I share the WA link on a reddit post where someone asked for a WA that changes settings when entering a dungeon?