x

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"

For Loop sounds

I'm trying to use a For Loop to play an audio cue 3 times.

When I tried this, the sound would play all at once.

I added a delay node after the sound cue--but the sound only plays once.

Is there a way to play a sound cue for limited number of times, such as three or four times and then stop?

Product Version: UE 4.15
Tags:
more ▼

asked Oct 10 '18 at 10:29 PM in Using UE4

avatar image

FramersVR
3 1 3

avatar image HarryHighDef Oct 11 '18 at 08:49 AM

Try using a timer and a do N node.

I'll post an answer with pictures.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Here's how to do it with a timer and an event with a Do N node.

alt text

more ▼

answered Oct 11 '18 at 08:53 AM

avatar image

HarryHighDef
1.3k 1 14 16

avatar image FramersVR Oct 11 '18 at 06:32 PM

Thank you for your response. I tried this out, but for some reason, the sounds play almost simultaneously.

Here is my blueprint:

alt text

don-timer.jpg (151.1 kB)
(comments are locked)
10|2000 characters needed characters left
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