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"

Play sound after a given time

Hello friends,

How can I play a sound after some seconds from the beginning of the game? Here is how I tried, but the sound has no delay of 16.23 seconds. I tried other ways, but no result. Please, help me with a solution!

Thanks,

Raul

alt text

Product Version: UE 4.10
Tags:
121.jpg (77.2 kB)
more ▼

asked May 10 '16 at 07:38 PM in Using UE4

avatar image

Raul9410
27 7 8 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Thanks rotoslinger for your answer, but I manage to solve my problem. A delay won't work because I'm in Level Blueprint and will give me a delay to all game. That's how I did:

alt text

more ▼

answered May 14 '16 at 09:56 AM

avatar image

Raul9410
27 7 8 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I believe Start Time is referring to the time in relation to the duration of the audio, so if you have audio that is 20 seconds long and you start it at 10 it will start halfway through.

I would recommend using a delay. Just remember to add a custom event and do the delay->playSound there or everything after event begin play will be delayed.

So the execution order would be EventBeginPlay-DelaySoundEvent-Everything else.

example.png (108.5 kB)
more ▼

answered May 10 '16 at 10:25 PM

avatar image

rotoslinger
76 1 5 9

(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