Play matinee from HUD blueprint

Hi All

Been searching around for days trying many different methods but none of what I’ve found seems to be working. It’s probably crazy simple and that’s why there’s not much on this topic but basically the title says it all. I need to be able to play or stop a matinee from my HUD blueprint, since the matinee object can’t be inside of the HUD object it has to remain in the level blueprint. Of course I can get it to play just fine from there on level startup but eventually there’s going to be different sequences accessible from the menu so I need to get this working right away. In the screens below I’ve tried using an event dispatcher to no avail.

Any help on this would be awesome! and a heads up, I’ve watched all the blueprint communication tutorials and gone through the blueprint communication example level. So I’ve probably just missed something minor.

forgot to add one other image, this one of inside the main menu widget. I’m using UMG, I know it’s experimental but it works well for the menus I need to make.

The answer to your question is in the last image I have attached here, however since others will be reading this post, I’ll post the answer in detail:

The correct way to use EventDispatcher: Let’s say in your scene, your class or HUD blueprint is called “DynTexture”, your Matinee Actor is called “MatineeActor1”.

1: Inside your class or HUD Blueprint, select “EventDispatcher” from the top left, where you see +Variable, +Function, +Macro, etc… Let’s call it “PlayMatinee”, see pic.

2: Drag the new PlayMatinee on the left into Blueprint window, then select the “call”.

3: In your scene, select “MatineeActor1”, see the pic:

16495-screen+shot+2014-09-27+at+9.43.46+pm.png

4: In your Level Blueprint window, right click, then Call Function On MatineeActor1, select PLAY, see the pic:

3: In your scene, select “DynTexture” Blueprint

4: In your Level Blueprint window, right click, then Add Event To Dyn Texture, select View “PlayMatinee”, see the next 2 pics:

So now when you “Call PlayMainee” in your Class or HUD BP, the Level Blueprint Plays that Matinee.

Hope this helps.

I am very new to this UE4 but I have been working a lot with the HUD class. I believe your Function of Call Play Matinée needs to target the set variable of the associated widget. I created a HUD that looked very similar to yours (without the Matinée). I had to target the function to where the widgets variable was set. I am very new to this and might be wrong please feel free to correct me, I am a total newb.

Awesome I see why the dispatcher event wasn’t showing up in my level blueprint when I tried to do it. It’s because my Test_HUD blueprint is based off the HUD class (not an actor in the level), which gave me access to Event Receive draw HUD (2nd image I posted). I need this event to make my menu work and I can’t use it in this type of blueprint.

Thanks for explaining the event dispatcher! it gave me some good insight. As you might tell I’m not a programmer. I do environment Art but it’s nice to be able to compile my work and have some sort of interface for people to use.

I ended up sorting out this problem by adding a custom event in the Level BP and then firing using a console command from the HUD BP. Hacky, but there you go.

Thank you so much, being able to finally trigger Events within the Level Blueprint by using Actor Blueprints added a lot of flexibility to my project!

There is no way to use TIMELINE instead Matinee inside HUD to animate movable meshes?

Hi - how is it possible to do the above if the Blueprint is part of the player/pawn ? It is not possible to select this blueprint in the scene as there is only a player start icon and this is mapped to the character blueprint through the Run Game Mode settings.Any ideas ?

Hi, your 3rd step says “In scene, select DynTexture Blueprint”, but the problem is that the UMG widget is not in the scene, but in the COntent Browser only because it’s added manually. Therefore I can’t add the event for “DynTexture” in the 4th step - It just says “select actor”.
Any Idea how to fix this? (UE 4.12.5)

Hello,
Same pb as you…
Have you found the answer ?
Thanks