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
Picture of the bullet dealing damage
Picture of the Pawn receiving damage. This is similar to how my other player controlled pawn receives damage, which works.
asked Dec 28 '17 at 03:48 PM in Blueprint Scripting
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.
answered Dec 28 '17 at 03:55 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here