# Player damage by enemy tag?

**URL:** <https://forums.unrealengine.com/t/player-damage-by-enemy-tag/358891>\
**Category:** AI\
**Tags:** tags, damage-player, ai-controller, unreal-engine, question\
**Created:** [May 28, 2016, 7:13pm UTC](https://forums.unrealengine.com/t/player-damage-by-enemy-tag/358891 "2016-05-28T19:13:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bd379ef4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bd379ef4](https://forums.unrealengine.com/u/anonymous_user_bd379ef4)\
**Post date:** [May 28, 2016, 7:13pm UTC](https://forums.unrealengine.com/t/player-damage-by-enemy-tag/358891/1 "2016-05-28T19:13:41Z")

</div>

In Unity there was a simple “Tag” system, if Player.collide.TagName(“enemy”) apply.damage. etc  
How would you group A,B,C, enemies in Unreal to implement on BeginOverlap damage effectively?

thank you.

my use of enemy is AIPlayerController blueprint.

---

<div class="post-metadata">

**Author:** ![KhalimWu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KhalimWu](https://forums.unrealengine.com/u/KhalimWu)\
**Post date:** [May 28, 2016, 7:26pm UTC](https://forums.unrealengine.com/t/player-damage-by-enemy-tag/358891/2 "2016-05-28T19:26:35Z")

</div>

Add tag to player (on details, bottom list).  
On Collide/Linetrace/Overlap event, cast hitActor, get PlayerTags (yes, you can add more than 1 tag), branch it.
