How to add a cooldown icon/tint on abilities?

Hello! I have been struggling with this for many hours now so I’ll try my luck here :smiley:

So I’m trying to learn how to make an ability cooldown for my fireball attack (Gray tint which appears when ability is not usable, and leaves after it is.)

I first tried myself and then using ChatGPT (Insane I know) to no avail.

if you guys have any tips and tricks on either how to fix the code, or how to do it in a easier way, I’d appreciate it a ton!

Here’s pictures of most of the things: (Fireball is a temporary icon I put there :D)

what actual problem are you having?

if you want to use a material you have to update that value on tick too (or timer would be better) (SetScalarParameterValue)

if you just want a simple option you can use a border and set its opacity from 1 to 0

or you can just a progress bar and set its fill from 1 to 0 with an opacity of 0.3 or something

Yes sorry for not being clearer, I did the “bar” way and got it to work, thank you for the idea and help!

1 Like