Communication from Pawn to Level-Blueprint

How i fire off an event from my Pawn to my Level-Blueprint ?

From my Level-Blueprint to my Pawn i can simply go with a Interface Event.
From an BP-Actor in the Leven i can use an Event-Dispatcher to fire off something in my Level-Blueprint…
But how do i fire off an event from my Pawn to my Level-Blueprint ?

What i want to do is play an MatineeActor from my Level when my Pawn Health reached 0.
So i need something to communicate to my Level-Blueprint from my Pawn.

Or is there another why to start the Matinee from my Pawn ?

I`m sorry if the Pawn to my Level-Blueprint Communication has already been answered before.
I used the Search Function but could not find it.

you could do it like this.

  1. have a gamemode, with begin play, fetch matinee actors from level and save it somewhere.
  2. when your pawn die, get game mode and issue a event to notify it(you can do it with a tag or something, so you can choose what Matinee actors to play)
  3. let gamemode play the matinee actor.(server only)

Use Event-Dispatcher, thanks to unreal framework you always have a direct access to the player, soo you can get the contoller, cast the player and bind the event.


1 Like

Thanks erWilly!You are aweseome. Thats exactly what i needed.
Penguin, you are cool too, but Willys Solutions fits my purposes better.
Thank you both.

No worry, but if you ever want to do multiplayer, it’s still better to do it from pawn itself to gamemode. As you don’t have to figure out what index belong to which player that way.