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"

I am wondering how to play two videos one right after the other when I start the level

I currently have a level blueprint that plays an intro video using a media player but I do not know how to play the second video right after the first one ends. Currently after the first video ends, it goes straight to the game. So far after following a tutorial on YouTube about playing a video in ue4, I set up a blueprint to start the first video on level start but I need a way to play the second right after either doing a delay or a blueprint node to switch straight to the second in the media player list. alt text

Product Version: UE 4.18
Tags:
capture.png (159.3 kB)
more ▼

asked Jan 27 '18 at 02:20 AM in Blueprint Scripting

avatar image

Matthew Rumble
3 1 2 3

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

1 answer: sort voted first

You can use GetDuration to know how long the first cutscene is, Delay for that amount of time, then play the second one.

https://docs.unrealengine.com/latest/INT/BlueprintAPI/Media/MediaPlayer/GetDuration/index.html

more ▼

answered Jan 27 '18 at 10:03 PM

avatar image

vr_marco
2.2k 10 6 12

avatar image Matthew Rumble Jan 30 '18 at 12:08 AM

Thank you but when I try and connect the node from the GetDuration to the delay, I cannot connect since it says that timespan structure is not compatible with floatalt text

fo.png (70.0 kB)
avatar image vr_marco Jan 30 '18 at 07:34 AM

Use GetTotalSeconds out of the GetDuration node. That gives you a float with the total duration in seconds.

(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