#WA that pops up when u enter a dungeon

62 messages · Page 1 of 1 (latest)

rare charm
#

Is there anyway to make a WA that pops up when u enter a dungeon, and then dissapears when you click on it? Its to remind me to do a certain thing every time I enter a dungeon

quaint light
#

!clickable

deep gladeBOT
#

See this message #pins message for details on the perils of trying to make Auras clickable

quaint light
#

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)

rare charm
#

The thing that I´m gonna do is press my keybind that toggles between normal graphic settings and raid graphic settings

quaint light
#

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

rare charm
#

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?

quaint light
#

Yeah I can, not now though. I'm a bit busy for a while

#

In an hour max though

rare charm
#

Lovely 🙏 I´ll be here

quaint light
#

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

rare charm
#

How do I get my keybind into a macro? Its this setting btw

quaint light
#

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

rare charm
#

Doesn't seem like it detects it

quaint light
#

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

rare charm
#

Cant see anything that says Cvar update either

rare charm
quaint light
#

I checked the source real quick and I found a workaround.
I'm back home in like 30mins and check it out

rare charm
#

Ok, I´ll be here

quaint light
#

Type /run RunBinding("TOGGLEGRAPHICSSETTINGS")

#

In chat, see if that changes your graphics

#

If yes, then you can just make a macro with that

rare charm
#

Nope, doesn't change the graphics

quaint light
#

All good, can probably just remake the functionality of the binding then

quaint light
#

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

#

Just tested it out and it worked for me

rare charm
#

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

quaint light
#

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.

quaint light
#

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

rare charm
#

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?

quaint light
#

if you want, sure

#

they gotta have the raid settings enabled though in the options

#

it's not by default