UMG Animation Won't Stop Playing
I'm currently working on a stamina bar system, and I want it to flash red while it's draining. I have got the animation to start playing at the right times, however I can't seem to get it to stop.
I've attached screenshots of my code so you guys can see what I'm doing.
Thanks if you can help me.
asked Feb 26 '17 at 12:46 PM in Blueprint Scripting
Setup a bool for stamina draining. Have it so when all those "and" statements are true, it sets the stamina draining bool to true. Then make a custom event. In the custom event use a branch to determine if stamina draining is true. Then hook up your animation to the true node and the stop animation to the false node. You'll need to call it every tick to see if its true or not so drag out from your event tick and call the custom event. Hope this helps.
answered Feb 26 '17 at 01:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here