Casting Character to OnDestoryed

Hi,

I’ve been following along with the respawning via blueprint tutorial (Linked below) And I can’t seem to get my character blueprint to bind to the onDestoryed event (Circled in red on my game mode blueprint) It just keeps saying not compatible with self-reference. As I believe this may be causing the error I’m having with the camera resetting every time my character dies. As shown in the last two images with it being a top-down perspective, where upon death changes to facing outwards.

So does anyone have any ideas on how you bind the event to the cast character as I’m at a loss. I’ve also seen other threads where people are able to connect them like I’m trying to do but mine just won’t do it.

Thanks :slight_smile:

https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/RespawnPlayer/Blueprints/index.html

Hey,

I’m looking over it and you didn’t connect the “Cast to” to “Bind Event”.

85588-screenshot_59.png

Whoops forgot to add the most important one, my bad. This is the error I get when trying to connect it up.

Hey,

I see what the issue most likely is.
Delete the Bind Event To OnDestroyed and from As Pac Character drag and create the “Bind Event”. You’re most likely bindng the OnDestroyed from the current bp. :slight_smile:

It works! you are a life saver, can’t believe it was that simple and I couldn’t figure it out. Thank you very much.

No problem :slight_smile: Glad you got it working!