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 to check if sound is still playing?

Hi I want to check if a sound 2d(a dialogue) is playing(but the sound itself will come as a variable from another blueprint

how can i check if that "variable" is still playing? I need this to put my characters mouths moving while there's still dialogue running.

thanks in advance.

Product Version: UE 4.20
Tags:
more ▼

asked Nov 16 '18 at 07:52 AM in Blueprint Scripting

avatar image

fabiomsilva
50 2 5 8

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

1 answer: sort voted first

For this you should use SpawnDialogue2D instead of PlayDialogue2D and uncheck AutoDestroy.

alt text

spawndialogue.png (88.1 kB)
more ▼

answered Nov 16 '18 at 08:15 AM

avatar image

Sertac Ogan
1.5k 30 10 46

avatar image fabiomsilva Nov 16 '18 at 04:10 PM

thank you. Could you explain or tell me where to find information regarding the spawn dialogue 2d? not sure what the whole context part of it is(it seems like its always giving me false in the branching and i suspect the context part of it is at fault)

ALSO, for the audio duration, how can i fire an event when it is not playing?(because right now this is all firing from a custom event, and it is not working on the tick, so im unsure how i can tell it to use the false branch afterwards so it stops the animation or does something else alt text

stop-dialogue.jpg (120.3 kB)
(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