Hello
I have 2 collision boxes in front of my enemy. 1. The player dies if he steps in 2. if a bullet overlapps, will the enemy get damage.
The player dies when I shoot the enemy,so how to you make a collision that is only triggerable by 1 object/component?
It sounds like you are not using the overlap event’s parameter pin(s). There should be one that references the object that has overlapped the box, and which you can get other variables from like whether it belongs to a playercontroller, what Class it is, etc. Using that information you can have the code make decisions of who to damage or to do something else.