Just a couple simple questions VIDEO INCLUDED

Here’s a game I’m working on. Just a couple things I can’t figure out. Thank you in advance!

https://www.youtube.com/watch?v=L1eDamvp2e0&feature=youtu.be

I’m fairly new to BP but for the audio question you could try something like this:

Create an Audio Component reference variable on the Character Blueprint (called something like ‘CurrentNarrative’). Then, when activating a particular narrative you set this reference to the audio being played. Then on subsequent narrative uses you grab the stored reference and stop it before playing the next. Also don’t forget to remove the stop audio playing on end overlap.

Here’s a mockup

3388947f49f7d7e27fe8491ab19071fef8e18979.jpeg

This may not be the best way of doing it, but it should work.

Thanks man! That’s way better than what I just came up with. The way I did it was to create custom events in each object that say to stop the audio, and then casted to those objects and told them to run the custom event. But this way I had it setup would require me to create a line of code for EVERY object. LOL You can tell I’m a beginner at this programming thing.

Here’s the same thing without the unnecessary casting. I could make all objects the same class… but then I’d still have to create all those custom events.

Thanks again for your help. I really learned a lot setting your solution up. I had no idea you could create variables that referenced components. That opens up so many possibilities.

One question though. Why the need for the IsValid node? Multiplayer? I disconnected that node and it still worked.