# Projectile ignor team mates

**URL:** <https://forums.unrealengine.com/t/projectile-ignor-team-mates/426383>\
**Category:** World Creation\
**Tags:** projectile-hit, team, unreal-engine, projectile, Blueprint, question\
**Created:** [May 31, 2018, 9:47pm UTC](https://forums.unrealengine.com/t/projectile-ignor-team-mates/426383 "2018-05-31T21:47:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarisFreimanis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marisfreimanis/32/623407_2.png) [@MarisFreimanis](https://forums.unrealengine.com/u/MarisFreimanis)\
**Post date:** [May 31, 2018, 9:47pm UTC](https://forums.unrealengine.com/t/projectile-ignor-team-mates/426383/1 "2018-05-31T21:47:19Z")

</div>

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:

> **[Gyazo](https://gyazo.com/e64391288522657ca3c651151a0f2bcd)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

These is my projectile event graph:

> **[Gyazo](https://gyazo.com/c93de847df02d66f500d1361f4ab0175)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

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

> **[Gyazo](https://gyazo.com/d5b4cc5bf1266362dafccf63f69e1605)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

---

<div class="post-metadata">

**Author:** ![BreakMaker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/breakmaker/32/971651_2.png) [@BreakMaker](https://forums.unrealengine.com/u/BreakMaker)\
**Post date:** [June 1, 2018, 7:57am UTC](https://forums.unrealengine.com/t/projectile-ignor-team-mates/426383/2 "2018-06-01T07:57:39Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![MarisFreimanis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marisfreimanis/32/623407_2.png) [@MarisFreimanis](https://forums.unrealengine.com/u/MarisFreimanis)\
**Post date:** [June 1, 2018, 8:18am UTC](https://forums.unrealengine.com/t/projectile-ignor-team-mates/426383/3 "2018-06-01T08:18:44Z")

</div>

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