Play / Stop Audio Component on Press / Release

ACTimo91
Tue, 13 Aug 2019 20:17:56 +0000
Audio

Hello everyone!
Well I just want to set up a basic Audio management system for my project.
I got two audio components in my blueprint controller, one of them should play as long as I hold my left mouse button and stop playing when I release it. Keyboard 1 and 2 should just switch between both audio components.
I deactivated on both audio components autoplay, and attached to them a matching sound cue which is able to loop. I know that the Tick Event isn’t quite good for the performance of my computer but for this debug it should be okay. That’s all I’ve done…

Sounds really simple, but I just can’t figure out what I’m doing wrong.

Attached is an Image of the blueprint.
Thanks for helping me.

Cheers.

3 posts - 1 participant