Detect end of audio file in UI

When game over/completion video is finished, I want the player to automatically return to the main menu. I have most of the nodes, but I can’t connect the media player audio component to the “Bind event to audio finished” node.


I tried switching the 2D sound node to a spawn attached node, but that just causes the game over screen to immediately end and go to the main menu.

1 Like

This works

I assume you’re weren’t attaching the sound to anything?

1 Like

Not when I was using the bind event node because I couldn’t get it to attach to the media player component so I was lost. But I was also trying to do this in the widget that was made to play the game over media. I’m going to try and do this in the blueprint that actually displays the screen now.

1 Like