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"

The "Control Playback With Blueprints" tutorial doesn't compile

Hi! I'm trying to go through with the above mentioned tutorial. I get an error when I try to compile the link between the OnMediaOpened event (I add it from the MediaPlayer variable into the blueprint, using the green big button in the details pane) with the Bind Event onMediaOpened. See screenshot: alt text

The error is the following: On Media Opened (MediaPlayer) Signature Error: The select function/event is not bindable - is the function/event pure or latent? Otherwise, the player works fine. It plays on load and I can both see the video and hear audio playing.

Otherwise, is there a tutorial to do this in C== that would work?

Thank you all in advance for your help :)

Product Version: UE 4.21
Tags:
more ▼

asked Jan 31 '19 at 05:37 PM in Blueprint Scripting

avatar image

mrgreenh
1 1

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

2 answers: sort voted first

Sorry for the thread necro if you have already solved this but, perhaps for the benefit of anyone else looking through this...

The problem here, I believe, is trying to assign as a delegate a preexisting Event (the MediaPlayer's On Media Opened) rather than creating a new Custom Event.

The error described occurs in C++ if the Event you are try trying to link to as a delegate isn't 'BlueprintCallable'. I assume that, within pure Blueprint, some preexisting events (like the ones you can bring up by clicking on the green buttons) also aren't considered 'Callable' in the same way.

You can see in the Tutorial that the event created has the 'Custom Event' tag, which means it's been created from the 'Add Event->Add Custom Event' menu. If you access this menu after dragging off of the red Event Delegate pin on 'Bind Event to OnMediaOpened', the new Custom Event will be created with the 'Opened Url' input variable.

Again, likely to late to be helpful for your problem @mrgreenh, but hopefully helpful for anyone else finding this thread!

more ▼

answered May 06 '19 at 11:19 AM

avatar image

Ascianous
5 1 1

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

Thank you Ascianous! I did find some way to move on, but it might have been about introducing some timer (can’t remember off the top of my head), so this is not too late, I can go back and make the blueprint better now. Thank you again!

more ▼

answered May 06 '19 at 03:49 PM

avatar image

mrgreenh
1 1

(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