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 do I play a video on a texture after entering a trigger?

So I've done the Media Player, created the material and I know how to insert a video inside the engine on Begin Play. But I need it to play once I step into a trigger. I need the original object texture to change to the video and then change is back again once the video is finished or if I step out of the trigger box. Like when you enter a room, the TV turns on and when you leave it, it turns off (or after the video is finished) and by "turn off" I mean, return to the original texture. This is what I did so far: The actor enters the trigger, the texture changes to the Video Material, but it doesn't play. It just stands there in black. And the object doesn't change back to the original texture...

alt text

Product Version: UE 4.13
2016-11-18 (1).png (111.2 kB)
more ▼

asked Nov 18 '16 at 12:08 PM in Blueprint Scripting

avatar image

1 1 2

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

1 answer: sort voted first

You have to ask the video to play. You start the video player and then the material that you set will play as well.

To return to the material it had, you have to set the material to the old one again after it is done playing the video.


more ▼

answered Nov 18 '16 at 09:29 PM

avatar image

2.7k 106 34 177

(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