Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Projectile ignor team mates


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:


Product Version: UE 4.19
more ▼

asked May 31 '18 at 09:47 PM in Blueprint Scripting

avatar image

41 2 2 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Jun 01 '18 at 07:57 AM

avatar image

242 5 11 17

avatar image Freymox Jun 01 '18 at 08:18 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question