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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Single player co-op does not get damaged


I'm trying to make a single player co-op game where two pawns are controlled by a single controller. For one pawn I am putting most of the logic in the controller since that is the only method I've been able to find to make this work.

The problem I encountered is that I have an enemy projectile that detects the actor and does damage to the ones with the "Player" tag. I cannot seem to make this work with one of my pawns. I have tried giving it the tag in the pawn's blueprint as well as assigning it a tag via the controller. When I use print string to check the pawn does indeed seem to have the tag, but the logic still doesn't work for some reason.

Does anybody know what I am doing wrong?

Picture of the pawn spawning and assigning a tag alt text

Picture of the bullet dealing damage alt text

Picture of the Pawn receiving damage. This is similar to how my other player controlled pawn receives damage, which works. alt text

Product Version: Not Selected
more ▼

asked Dec 28 '17 at 03:48 PM in Blueprint Scripting

avatar image

10 1 3

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

1 answer: sort voted first

Hey there, try adding a print on the beginning of event anydamage to see if it triggers for the pawn that doesnt get damaged. If it doesnt trigger then check the collision settings to see if its overlapping the projectile.

more ▼

answered Dec 28 '17 at 03:55 PM

avatar image

6k 161 129 304

avatar image Rustywaffles Dec 28 '17 at 04:04 PM

I can't believe I missed this. Thank you for the speedy answer! The collide was put on block instead of overlap. Thank you again!

avatar image xlar8or Dec 28 '17 at 04:05 PM

No prob, please mark the answer as correct :)

(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