Adding OnActorHit event to *unspawned* pawn

Hello!
Sorry if I get the terms wrong. I’m quite new to the UE universe.

Basically I want to reset my level when a pawn hits something. I already know how to do the reset but currently I am using a key event (by pressing the key “J”). I was thinking of using an OnActorHit event but the pawn that will collide with the objects in the level only spawns when I click play (so I can’t right click it in the editor and choose add event).

Can somebody help me with this?

If you spawn the pawn dynamically, during run-time, you can try creating a reference like so:

Thank you for the help!
I managed to get what I wanted with your suggestion.

you could have the event scripted into the characters blueprint then when it spawns it will already be set. along that same kind of thing you could also have it scripted but have it blocked from executing via a branch and variable then when you spawn the character you could set the variable to be true so that the on hit event becomes active. this would allow you to many of the character in the level but only one that would reset the level.