#Ability to Appear when OFF CD, and Disappear when ON CD

194 messages · Page 1 of 1 (latest)

gusty raft
#

Hi,
I have a specific idea for a weak aura and i cannot find any that do this on Wago.io. or the Wiki/internet research
i'll use Fel Devastation as an example: i want it to appear on my screen near my character when it's off CD, but disappear (completely invisible) when it's on CD. i then want it to appear at 5 seconds like a countdown showing me i can use it soon. i also want it to glow at 2 seconds before use, but only during those 2 seconds. Then, i want it to disappear completely when not in combat.
I've tried playing with WAs trying to get them to do these series of things, but i'm not super good with code and functions.
Thanks!

vast comet
#

no code is needed at all.

#

!auracreation

green masonBOT
#

Here's the work flow for any Aura:

1. Think about all the info that the Aura you're trying to make will need.
2. Make a trigger for each piece of info
3. Decide which info should be sent as Dynamic Info and order the triggers accordingly.
3a. Order them so that "Dynamic Info from First Active" catches the right info, or select a specific trigger.
4. Decide which triggers need to be involved in overall activation of the Aura and change Required for Activation accordingly
4a. All (default), Any or Custom (e.g. function(t) return t[1] and (t[2] or t[3]) end) - https://github.com/WeakAuras/WeakAuras2/wiki/Aura-Activation-and-Deactivation#custom
4b. This step lets you include triggers that will be used only for Conditions but excluded from Activation entirely.
5. Make your conditions using the info from the triggers.

While working through this and building your Aura, if there's anything you're unsure of, just ask in the appropriate Help channel.

gusty raft
#

thank you for the helpful info, i've read guides and watched videos and still can't make it, it's why i'm here haha. Not all things come easy to all of us

vast comet
#

what did you try yet?

gusty raft
#

i kind feel like i took my broken car to my buddy who is a mechanic? and he threw a manual at me lol. idk man, i've played around with it. just a noob

vast comet
#

i cant just throw something at you that may help you. but that most likely wont help you for the next aura.

#

did you look at the list and go trough it. try to break down what you want. you dont need any code at all, just the regular options

gusty raft
#

i was hoping someone could make the above and i would play with it for all my other abilities i want to do it with. i'm better with reverse engineering something than making that which i don't comprehend from scratch you know?

vast comet
#

thats why i wanted to help you make it from scratch, so you understand the steps

#

thats why i asked what you tried yet to know how you approached that and where it went wrong

gusty raft
#

makes sense, i would describe myself as someone who downloaded weak auras last week and watched about 6 hours of videos and spent another 4 reading how to make the aura i want. and it doesn't work

vast comet
#

the video watching was most likely not very useful

#

you are overthinking if you did so much.

gusty raft
#

yeah they show useful stuff, but not specifically what i'm trying to do

#

not everybody's brain works the same way

vast comet
#

if they show code, they arent what you need and far far away from anything you need

#

forget everything said about code.

#

WHAT do you want to track. select it in the dropdown of the trigger.

#

type? you want to track a spell, so select spell
next dropdown one over? you want the cooldown, select cooldown

gusty raft
#

okay since we're going through this step by step, i'm in WA now and i selected new/ Texture. i changed my mind i'd like it to be an animation rather than an icon lol

#

i'm here now

#

is the required for activation what i'm looking for? because the option is confusing. it goes into functions?

vast comet
#

ignore that.

#

and dont select custom anywhere yet. you dont need that. you dont need code.

gusty raft
#

alright i'm here now

#

i found the spell i wanted

vast comet
#

and selected the right thing.

#

in that thing you now enter what you want.

#

look at the dropdown and such in there whats useful

gusty raft
#

is what i described above the "cooldown Ready Event" or ?Cooldown/Charges/Count"?

vast comet
#

cooldown, you want the know the cooldown

gusty raft
#

they both have cooldown, more specific?

vast comet
#

one is it being ready and showing for a duration. its a event, an happening

gusty raft
#

ah so cooldown ready event

vast comet
#

no.

gusty raft
#

?

#

so the one i have checked?

vast comet
#

yes.

#

when do you want to see it?

gusty raft
#

ok, progress. i got it to appear when not on CD and disappear when on CD

#

now, how do i get it to appear at 5 seconds with a countdown?

vast comet
#

you make a second trigger, by pressing new trigger

gusty raft
#

alright, what would it be under "type"?

vast comet
#

you want the exact same thing.

#

you have two cases when you want to see it

#

when its not on cooldown

#

when its on cooldown with a remaining time of 5

#

break down when you want to see it

gusty raft
#

okay i did that and now it doesn't show up at all?

vast comet
#

back to your question at the start with your first screenshot

#

look at that dropdown again, what are your options and what would make sense?

gusty raft
#

wait i had it deplayed on cooldown rather tahn off

#

wait

#

nope

#

that didn't work

#

only appears when off, no 5 second CD

vast comet
#

what does the very first dropdown in the trigger say

gusty raft
#

okay so, problem

vast comet
#

yes, because if it isnt on cooldown, there is no timer

gusty raft
vast comet
#

you dont want to second to be about it being ready tho

gusty raft
#

i need it to be NOT on CD

vast comet
#

thats correct

#

you dont

gusty raft
#

but when it's NOT on CD it doens't give me the option

vast comet
#

you want to know about it being on cooldown

gusty raft
#

to do countdown

#

nono

vast comet
#

you want to know when its ON COOLDOWN

gusty raft
#

that's talking about if it shows

#

while on or off CD

#

i want it to show ONLY when off CD

#

and diesappear when on

vast comet
#

if you want a seperate number without the display thats a seperate aura.

gusty raft
#

ok so what does that mean?

vast comet
#

you need a text aura for that if you dont want a display except a text

gusty raft
#

the plot thickens

#

let me attempt that one sec

#

okay so this worked kind of

#

a number pops up at 5 seconds but there's no icon attached to it. how do i make the number pop up with the icon?

vast comet
#

by selecting icon

#

you said you wanted a text, if you want a icon, select icon

#

you cann add a text directly to a icon in the display tab

gusty raft
#

okay this worked

#

very good

#

now how do i make it glow?

vast comet
#

you select condition

#

enter when you want it to glow, and then set the glow visibility with the checkbox

gusty raft
#

it's not glowing, where do i go from here?

#

i'm stuck on this part, not sure what these do or how to get it to glow

vast comet
#

not glow external

#

its an icon, set the visibility for glow 1

#

it comes by default

gusty raft
#

okay now, how do i get it to stop glowing once it comes OFF CD?

vast comet
#

if you didnt use glow external, it does that by default

gusty raft
#

it stays glowing until i use it again

vast comet
#

did you reload after messing around with glow external and do you try with the options window closed?

gusty raft
#

i did not reload, i'll try that. i did test it with options closed

#

yes, reloaded, closed WAs still glows

vast comet
#

are both icons now?

#

the left looks like it

gusty raft
#

not sure what you are asking. i made 2 WAs, the 1st simply makes it appear when off CD, and disappear when on CD. the 2nd makes it appear with a count down timer at 5 seconds and makes it glow at 2 seconds. but it stays glowing until i use it again

vast comet
#

are both of those icons? in the beginning you said you made one of them an texture

#

if they are both icons and not different display types you can do that in the same aura.

gusty raft
#

they're both icons

#

you said i had to make a new oine

#

and it worked

#

i just stacked them on top of each other -.-

vast comet
#

yes. because you said that you wanted a texture and only a countdown with only text for the not yet ready.

gusty raft
#

nope wanted the icon too

vast comet
#

if you want both of those to be icons, you can do that in a single aura.

gusty raft
#

that's what i was saying tho, i tried it in a single icon and it wasn't working

vast comet
#

it does work in a single icon.

#

i asked you something at that point and you suddenly went somewhere completely different not answering that question

gusty raft
#

sounds like me xD

#

okay so back to thisd

#

if i try to make it in the same aura by creating a second trigger, it doesn't let me select the "remaining time" option while NOT on CD

vast comet
#

trigger 1 is not on cooldown.
trigger 2 is on cooldown with a remaining time. that was the last one.

#

because you dont want NOT you want it to BE on cooldown.

#

how could it not be on cooldown and still have a cooldown`?

gusty raft
#

because i want it to be invisible until 5 seconds left

vast comet
#

remaining time.

gusty raft
#

hold

#

let me show you what i'm talking about

#

this is trigger 1 making it show up when OFF CD and disappear when ON CD. no count down.

vast comet
#

yes

#

thats part one you want.

gusty raft
#

this is trigger 2 making it show up with 5 seconds left

vast comet
#

yes.

#

thats part 2 you want

gusty raft
#

okay... so this is what i have been trying to tell you

vast comet
#

and the issue?

gusty raft
#

the issue is that with it set up this way, the ability doesn't show up at all :=[

vast comet
#

now we are back to 1 hour ago.

gusty raft
#

and you said make a new aura so i did, and it worked then. just had to stack them on op of eachother

vast comet
#

what does the very first dropdown in the trigger say?

#

with the heading

gusty raft
#

Aura

vast comet
#

top

#

and nothing there should say aura

gusty raft
#

wait, what are you asking?

vast comet
#

the very very very top of the trigger tab.

#

the very first dropdown in the trigger tab

gusty raft
vast comet
#

"Required for activation: ALL Triggers"

#

what is it that you want?

gusty raft
#

between these 3 options? not sure, idk

vast comet
#

thats english

gusty raft
#

huh?

vast comet
#

activation, the aura being active

#

required, something thats needed

#

triggers, the things below that you made

gusty raft
#

i don't understand

vast comet
#

whats the missing part?

gusty raft
#

i have no idea

vast comet
#

whats the part you dont understand?

gusty raft
#

okay so

#

the aura isn't working

#

and i don't know why

vast comet
#

that dropdown

gusty raft
#

you pointed me to this area and are asking me questions as if i'm supposed to figure it out

#

and i don't get it

vast comet
#

that dropdown is deciding when the aura will show

gusty raft
#

right and i have it on always, and yet it doesn't show?

vast comet
#

it either makes it show
when ALL Triggers are active
or
when ANY trigger is active

#

that dropdown doesnt have a "always" entry.

gusty raft
#

i meant all

vast comet
#

yes.

gusty raft
#

so i want it on any then

vast comet
#

that means it would be active if trigger 1 AND trigger 2 is active,

gusty raft
#

because if it's on all none of them will show right?

vast comet
#

if all of your trigger are active.

gusty raft
#

and one of them isn't

#

i get it now

#

i weant it on any

#

the disconnect was you know what each of these options do/mean, i don't lol

#

you look at them and read them and say "that makes sense"

#

i look at them and read them and say "i don't get it"

#

alright cool, we have it working in ONE aura now

#

with 2 triggers

#

IT WORKS!

#

2 hours /cry but it works