Projectile ignor team mates

Hello.

How Can I get my projectile owner? I’m making team shooter and I need, that team sniper can’t hit his team member.
Projectile recognize in that team is the hit actor. but I don’t know how to check it for person who shoot projectile.
So here you can see how I call my projectile:

These is my projectile event graph:

And these is my Set Damage function, where I check if I try to hit team member:

You could save the instigator actor when you spawn the projectile actor, and upon hit you query this actor and put the logic there.

Alternatively you could setup two custom collision channels in project settings, one for team and one for enemy. And then set the collision response to ignore.

I’m still new to UE. Can you help me with a bit more detailed information how to do it?