how to get player who spawned bullet

My game is a shooter and the projectiles my player spawns deal damage on impact. I want to make it so that when the player dies I can tell which player spawned the projectile in the first place.

Thank you

In my projectile blueprint. I dragged out the instigator from the cause damage node and looked for “Get instigator controller”


From there I went into my player’s blueprint and from the “event any damage node” I dragged out “instigator” and called a cast to my player’s controller. Then I call the custom event I created in the player controller (My player controller is called MMPC)

Here is what the event does for now I can later scale this to update my scoreboard or kill count.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.