1)Fill progress bar with delay after click and 2)call it from another button
I'm still a beginner with Unreal Engine and I always try to get a solution on my own, find a workaround or search with google or using also here the search function. But I haven't found a solution yet, so here are my (2) questions:
1) Is there a better way to fill a progress bar with delay than using delay function? This progress bar is triggered by click (UMG) and should fill with some delay (~1sec). But if the button is more often than clicked than once a second, it should also work and restart filling up progress bar. (Later I'll plan to implement more progress bars with higher delays, which should result in a cooldown, but this one should have no cooldown.) This solution (with delay) also is a showstopper to put this whole into a function.
2) After another requirement is met, I want to trigger this (click) event and it's progress bar by another UMG button. After some research I added additionally custom event (1_Click) to call this from another button click, but UE crashes.
Thank you very much for your advices! Best regards
asked Oct 25 '18 at 01:49 AM in Blueprint Scripting
You could try a timeline node, it allows you to change values over time while calling it only once. You set one or more "tracks" of values and the node "updates" based on tracks and outputs. If you enter the timeline node from the "Play from Start" pin, it'll restart from the beginning every time it's called. You set up the tracks by double clicking on the timeline node.
Follow this question
Once you sign in you will be able to subscribe for any updates here