How would I time when mediatexture activates and a video begins playing
Greetings all! So I have a test demo thats going to be stationary, about 30 seconds from the start I would like a mediatexture (tv screen) trigger and have a video start to play. After that video ends I would like to have another screen trigger and start to play another video. I have the tv screen and the video working (seemingly only when I have it playing in the media player in editor and not on its own when I start the demo) but I'm not sure how to trigger it on a timer instead of it autoplaying or being activated by moving the camera into a trigger volume. Any help would be greatly appreciated, thanks!
asked Nov 11 '15 at 06:49 PM in Using UE4
We don't have an event yet that fires when a movie finished playing, so the best you can do right now is to have a timer that triggers after the duration of the movie. The MediaPlayer asset has a GetDuration function that will tell you how long the currently loaded movie is. If the movie never changes, you could also just hard-code the time in your BP for now.
answered Nov 11 '15 at 07:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here