Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Play / Stop Audio Component on Press / Release

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.


Product Version: UE 4.21
more ▼

asked Aug 13 '19 at 08:17 PM in Blueprint Scripting

avatar image

1 1

avatar image ACTimo91 5 days ago

alt text

audio.jpg (370.2 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Try this.

alt text

screenshot-8.png (286.3 kB)
more ▼

answered Aug 14 '19 at 08:07 AM

avatar image

52 2 4 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question