Making an enemy do something different depending on which player hit it

Hey there,

What I want to do is have my enemy do something different depending on which player hits it but for the life of me I can’t figure out how to check which player hit it. For the mean time I’ve got the enemy moving from one spot to another just so I can test how this works. I’ve attached a screen shot of my current blueprint.

Thanks in advance for any and all help.

You need to Cast to the Class you want to check.

[spoiler]


[/spoiler]

Thanks, I feel like an idiot for thinking of Cast To

Thanks for the help