Do UMG animation and visibility once text changed?
Hi there, I have stucked in poping out messange once text changed. So exactly I have created a Radio that plays random cues as well they set up the song name. I want to make popout messange once song will change. I have created 2 UMG's which setting up sound and song name. Second is just for display that popout. Look at screenshots. How can I do it? Please help!! :(
This is UMG that updating song name: This is same UMG that setting up Sound Cue and Song Name: This is UMG that should popout:
asked Oct 10 '18 at 03:39 PM in Blueprint Scripting
Okay first, Im not sure I understand why you are running that set text on tick? The name should only be set when the song changes, not every tick if I'm understanding you correctly.
You should create an event that handles everytime the song changes.
When this event is fired it could get a random song from an array, set the text to the name of the song, play the song, and then play the animation.
You would need to setup your animation inside the widget designer tab, click +Animation, and key the values you want over the timeline. Then you can request the animation to play inside your graph with the "Play Animation" node.
answered Oct 12 '18 at 11:00 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here