# Enemies are Triggering my Triggers!

**URL:** <https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299>\
**Category:** World Creation\
**Tags:** unreal-engine, Collision, question\
**Created:** [January 28, 2015, 11:44pm UTC](https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299 "2015-01-28T23:44:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![oDESPERADOo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oDESPERADOo\_1](https://forums.unrealengine.com/u/oDESPERADOo_1)\
**Post date:** [January 28, 2015, 11:44pm UTC](https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299/1 "2015-01-28T23:44:45Z")

</div>

The enemies are walking through my triggers & setting them off and I don’t want them to.  
It’s a weapon pick-up, so as soon as the enemy overlaps the trigger, the gun appears in my player’s hand as if I walked over it.

I’m pretty sure that it’s a collision issue, but I’m just not sure what to change and on what blueprint.

Is there a way to restrict the overlap to MyCharacter ONLY?

 ![28289-weapon+pickup.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/7/9d7551396d4938644f9097224e6fd7ee5c024b21.jpeg)

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [January 29, 2015, 12:13am UTC](https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299/2 "2015-01-29T00:13:55Z")

</div>

Other Actor outputs the actor that overlaped, you can verify whatever it is a enemy or a weapon and behave accordingly.

Also you don’t want this code in level blueprint, your items gonna be dead in other levels

---

<div class="post-metadata">

**Author:** ![oDESPERADOo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oDESPERADOo\_1](https://forums.unrealengine.com/u/oDESPERADOo_1)\
**Post date:** [January 29, 2015, 12:17am UTC](https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299/3 "2015-01-29T00:17:59Z")

</div>

Sorry, but I’m not understanding what you’re saying

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [January 29, 2015, 12:46am UTC](https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299/4 "2015-01-29T00:46:19Z")

</div>

Other Actor pin on overlap event outputs actor that overlapes, by this you check class of object that overlaps. And insted of level blueprint you should put code in weapon item blueprint and detect if character touch it

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_642ca581](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_642ca581](https://forums.unrealengine.com/u/anonymous_user_642ca581)\
**Post date:** [January 29, 2015, 12:52am UTC](https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299/5 "2015-01-29T00:52:14Z")

</div>

you can use Tags. in the defaults of your character create a TAG name what ever you like e.g. CanPickUp then in your BP Above pull a wire from the ‘other actor’ of the event node and place a node ‘Actor Has Tag’ type in CanPickUp in the tag field and use this to switch a branch node.  
only characters with the CanPickUp tag will be able to pick up the weapon

---

<div class="post-metadata">

**Author:** ![oDESPERADOo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oDESPERADOo\_1](https://forums.unrealengine.com/u/oDESPERADOo_1)\
**Post date:** [January 29, 2015, 12:52am UTC](https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299/6 "2015-01-29T00:52:24Z")

</div>

Is there any way that you could show me an example based on my blueprint?

---

<div class="post-metadata">

**Author:** ![oDESPERADOo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oDESPERADOo\_1](https://forums.unrealengine.com/u/oDESPERADOo_1)\
**Post date:** [January 29, 2015, 1:07am UTC](https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299/7 "2015-01-29T01:07:10Z")

</div>

I’ll try that , I was trying to use the ‘Other Actor’ pin for this exact reason, but I had nothing to connect it to.

I didn’t know that ‘Tags’ existed till’ you just mentioned it.  
All I have to do now is figure out how to make a ‘Tag’ lol

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_642ca581](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_642ca581](https://forums.unrealengine.com/u/anonymous_user_642ca581)\
**Post date:** [January 29, 2015, 1:16am UTC](https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299/8 "2015-01-29T01:16:34Z")

</div>

open your character BP go to the Defaults tab search for tag or goto the very bottom of the page.  
you’ll figure the rest I’m sure

---

<div class="post-metadata">

**Author:** ![oDESPERADOo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oDESPERADOo\_1](https://forums.unrealengine.com/u/oDESPERADOo_1)\
**Post date:** [January 29, 2015, 8:32am UTC](https://forums.unrealengine.com/t/enemies-are-triggering-my-triggers/305299/9 "2015-01-29T08:32:21Z")

</div>

You’re the KING !  
Thanks again buddy, that worked like a charm.
