Why is my UI updating?

I have been tasked to make a Game feature for one of my University assignments and I decided to create a indicator of area attack like on League of Legends and Dota 2.

I managed to create almost everything a part from the icon to symbolize that the ability is in cooldown.
I am using a time line to Update my UI and I am trying to get the UI to update its percentage value based on the timeline value, but when the time line value updates the Ui does not.

I also tried to create the variable on the BP Top down Characters and cast it inside the UI and then set the variable in the BP Top down Characters but nothing.

You need to call the function Update Percentage too.

2 Likes

As above, but also - while not 100% sure it matters here, Triggered fires (almost) every frame - it would keep restarting the Timeline for as longs as the key is being held. May be intentional, who knows…

Thank you very much it worked! I am really thank full

1 Like

Oh I did not know. Sorry I am new to blueprints. So it it better if I just use the Started intead?

If you wanted to do it once per press, then yes.

oh okay, so what is the differenece between the triggered and ongoing?

You can set up more advanced scenarios where you want input to fire for x seconds only even though you keep holding it. Triggered would fire indefinitely, Ongoing only for the duration.

Admittedly, while the Enhanced Input opens up some options, it is not that intuitive. :pensive:

1 Like

Bit by bit I will understand. Thank you for your time

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.