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"

How can i get a bool inside a Sound Cue if wave is finished?

................

Product Version: UE 4.16
Tags:
more ▼

asked Sep 05 '17 at 03:16 PM in Blueprint Scripting

avatar image

Master Gebjeter
138 5 8 13

avatar image ApocalypticAI Sep 05 '17 at 07:19 PM

If you could post a screenshot or image of your blueprints or C++ code it would make it a lot easier to help. (If on windows 7 or higher, simply search in start for 'snipping tool' and selected the desired part of the screen and save image)

However as I understand it, you want to play a sound when the wave ends? In that case, if your settings of the wave spawn have a set ending (e.g. your settings detainment that a wave lasts exactly 45 seconds) simply play the sound once at the end of that code. If not, then you could possibly set a Boolean to see if there is still enemies spawning and on screen. If both are no, then play the sound.

I hope this helps you, if not, please post a screen :) Good luck

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

1 answer: sort voted first

no way. SoundCue can't contain variables besides settings.
if you need it to play another wave after this one is finished - use sequence node to play them one after the another. otherwise if you need it for external logics, set delay or timer node for the wave duration.

more ▼

answered Sep 05 '17 at 10:42 PM

avatar image

Arty-McLabin
858 19 41 60

(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