# \#enemy

**URL:** https://forums.unrealengine.com/tag/enemy/2185.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [How To Make A Ranged AI With State Trees](https://forums.unrealengine.com/t/how-to-make-a-ranged-ai-with-state-trees/2736759)

<div class="topic-metadata">

**Author:** [@Ryd3r09](https://forums.unrealengine.com/u/Ryd3r09)\
**Replies:** 1\
**Last updated:** [July 19, 2026, 3:32am UTC](https://forums.unrealengine.com/t/how-to-make-a-ranged-ai-with-state-trees/2736759 "2026-07-19T03:32:57Z")

</div>

Hello Im currently working on making the enemy ai for my game using state trees and want to make him shoot weapons at the player from afar. Would I use the same system I have seen in tutorials for behavior trees where t…

---

## [UE5 C++ Behavior Tree / Combat Slot AI keeps falling back to Patrol instead of Attack](https://forums.unrealengine.com/t/ue5-c-behavior-tree-combat-slot-ai-keeps-falling-back-to-patrol-instead-of-attack/2735544)

<div class="topic-metadata">

**Author:** [@iNSANE\_SS](https://forums.unrealengine.com/u/iNSANE_SS)\
**Replies:** 1\
**Last updated:** [July 15, 2026, 4:20am UTC](https://forums.unrealengine.com/t/ue5-c-behavior-tree-combat-slot-ai-keeps-falling-back-to-patrol-instead-of-attack/2735544 "2026-07-15T04:20:50Z")

</div>

Hi everyone, I’m implementing a melee combat slot system entirely in UE5 C++ (no Blueprint logic except assigning assets), and I’ve reached a point where I’m stuck debugging the AI state transitions. Current architectu…

---

## [Easy Boss AI | Available On FAB](https://forums.unrealengine.com/t/easy-boss-ai-available-on-fab/2658603)

<div class="topic-metadata">

**Author:** [@AmiRSlaYeR](https://forums.unrealengine.com/u/AmiRSlaYeR)\
**Replies:** 3\
**Last updated:** [November 11, 2025, 9:02am UTC](https://forums.unrealengine.com/t/easy-boss-ai-available-on-fab/2658603 "2025-11-11T09:02:58Z")

</div>

Easy Boss AI | Fab Easy Boss AI is a powerful Gameplay System Template that lets you add brand-new boss fights, complete with phases, custom attacks, abilities, movement modes, and more, to your project in under 10 m…

---

## [Using a Child Blueprint Class for enemy AI from Player Blueprint Class](https://forums.unrealengine.com/t/using-a-child-blueprint-class-for-enemy-ai-from-player-blueprint-class/2277258)

<div class="topic-metadata">

**Author:** [@badboys0608](https://forums.unrealengine.com/u/badboys0608)\
**Replies:** 1\
**Last updated:** [September 26, 2025, 9:01am UTC](https://forums.unrealengine.com/t/using-a-child-blueprint-class-for-enemy-ai-from-player-blueprint-class/2277258 "2025-09-26T09:01:33Z")

</div>

Hi, I’m working on a third person horror shooter and planning out the AI now, the player character is ready but i don’t want to code all the similar actions that the player shares. Instead, i was wondering if I can creat…

---

## [Stuck in Level editing. Need Help in enemy placement.](https://forums.unrealengine.com/t/stuck-in-level-editing-need-help-in-enemy-placement/2644692)

<div class="topic-metadata">

**Author:** [@jaswanth07](https://forums.unrealengine.com/u/jaswanth07)\
**Replies:** 1\
**Last updated:** [August 17, 2025, 1:21pm UTC](https://forums.unrealengine.com/t/stuck-in-level-editing-need-help-in-enemy-placement/2644692 "2025-08-17T13:21:12Z")

</div>

Hello everyone, So, I am working on a tactics game. And this is my initial level blockout. It is top -down Perspective. As you can see I have patrolling enemies some idle ones. And gave them viewcones that detect…

---

## [How Can I Set Hostile in AI Preception?](https://forums.unrealengine.com/t/how-can-i-set-hostile-in-ai-preception/325954)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0972e5c0](https://forums.unrealengine.com/u/anonymous_user_0972e5c0)\
**Replies:** 3\
**Last updated:** [May 12, 2025, 2:23pm UTC](https://forums.unrealengine.com/t/how-can-i-set-hostile-in-ai-preception/325954 "2025-05-12T14:23:57Z")

</div>

I am trying to get my UFO’s AI perception to recognize the player as hostile, but I can’t seem to figure out where I can set it. (I’ve already set my UFO’s Detect by Affiliation to Detect Enemies only).

---

## [Damage taken by replication but i don't want this](https://forums.unrealengine.com/t/damage-taken-by-replication-but-i-dont-want-this/2079665)

<div class="topic-metadata">

**Author:** [@Rinoma0302](https://forums.unrealengine.com/u/Rinoma0302)\
**Replies:** 6\
**Last updated:** [October 22, 2024, 7:33am UTC](https://forums.unrealengine.com/t/damage-taken-by-replication-but-i-dont-want-this/2079665 "2024-10-22T07:33:52Z")

</div>

Hello everyone, I have a replication problem in a situation I shouldn’t have, when an enemy attacks my host player (i.e. in a client server system). He takes damage but the life bar doesn’t display it and the…

---

## [Enemies Attack Everytime Player Jumps](https://forums.unrealengine.com/t/enemies-attack-everytime-player-jumps/2020758)

<div class="topic-metadata">

**Author:** [@Robganondalf](https://forums.unrealengine.com/u/Robganondalf)\
**Replies:** 4\
**Last updated:** [September 16, 2024, 6:40pm UTC](https://forums.unrealengine.com/t/enemies-attack-everytime-player-jumps/2020758 "2024-09-16T18:40:17Z")

</div>

First time enemy AI creator and forum poster here! If this post needs more information or if I did something wrong, please let me know! I am working with behavior trees for the first time. The enemies will automatically…

---

## [How to bind Health Bar Widget to an enemy](https://forums.unrealengine.com/t/how-to-bind-health-bar-widget-to-an-enemy/474719)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a372ce32](https://forums.unrealengine.com/u/anonymous_user_a372ce32)\
**Replies:** 5\
**Last updated:** [September 4, 2024, 3:33am UTC](https://forums.unrealengine.com/t/how-to-bind-health-bar-widget-to-an-enemy/474719 "2024-09-04T03:33:59Z")

</div>

Hi, I’m trying to connect a Widget (which is shown above an enemy) that indicates Health. The point is, I can’t find an enemy reference node. As an example I’ve connected “Get Player Character” so all Widgets (Player a…

---

## [How do i make a enemy system, where  the enemy teleport to predefined animations, like Five nights at freddy's. ](https://forums.unrealengine.com/t/how-do-i-make-a-enemy-system-where-the-enemy-teleport-to-predefined-animations-like-five-nights-at-freddys/1820244)

<div class="topic-metadata">

**Author:** [@Kciam2](https://forums.unrealengine.com/u/Kciam2)\
**Replies:** 3\
**Last updated:** [April 29, 2024, 10:46am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-enemy-system-where-the-enemy-teleport-to-predefined-animations-like-five-nights-at-freddys/1820244 "2024-04-29T10:46:50Z")

</div>

If someone would show me a roadmap to learn at least i would be glad it’s a system where the enemy will break the window’s house if the player be too slow to defend. i really dont know how to do this, because all the t…

---

## [How to make enemy with tentacle that comes towards player](https://forums.unrealengine.com/t/how-to-make-enemy-with-tentacle-that-comes-towards-player/1797930)

<div class="topic-metadata">

**Author:** [@Player\_003](https://forums.unrealengine.com/u/Player_003)\
**Replies:** 0\
**Last updated:** [April 11, 2024, 12:28am UTC](https://forums.unrealengine.com/t/how-to-make-enemy-with-tentacle-that-comes-towards-player/1797930 "2024-04-11T00:28:56Z")

</div>

So i want to make enemy that have 4 tentacles on his back with which he will catch the player. I need tentacles just to come towards player than i will player noise screen

---

## [How to make linetrace ignore capsule of the enemy AI](https://forums.unrealengine.com/t/how-to-make-linetrace-ignore-capsule-of-the-enemy-ai/1329821)

<div class="topic-metadata">

**Author:** [@Player\_003](https://forums.unrealengine.com/u/Player_003)\
**Replies:** 3\
**Last updated:** [October 11, 2023, 11:12pm UTC](https://forums.unrealengine.com/t/how-to-make-linetrace-ignore-capsule-of-the-enemy-ai/1329821 "2023-10-11T23:12:04Z")

</div>

So i want to be able to make headshots deal more damage but when i try to get bone name it just dont want to work because capsule goes into the way i tryed putting capsule to ignore camera and visiblity but than line tra…

---

## [how to destoy the shield after enemy is destroyed](https://forums.unrealengine.com/t/how-to-destoy-the-shield-after-enemy-is-destroyed/1320246)

<div class="topic-metadata">

**Author:** [@mhmdamjd](https://forums.unrealengine.com/u/mhmdamjd)\
**Replies:** 15\
**Last updated:** [October 3, 2023, 11:47pm UTC](https://forums.unrealengine.com/t/how-to-destoy-the-shield-after-enemy-is-destroyed/1320246 "2023-10-03T23:47:48Z")

</div>

ive tried to store shiled should be destroyed in a varible and set it to true after destroy actor in enemy blueprint and used a branch in the shield blueprint to check it if true that destroy the shiled but it didnt work…

---

## [Line Trace damage with gun not damaging enemy](https://forums.unrealengine.com/t/line-trace-damage-with-gun-not-damaging-enemy/1253645)

<div class="topic-metadata">

**Author:** [@Boat\_K](https://forums.unrealengine.com/u/Boat_K)\
**Replies:** 16\
**Last updated:** [August 7, 2023, 4:38pm UTC](https://forums.unrealengine.com/t/line-trace-damage-with-gun-not-damaging-enemy/1253645 "2023-08-07T16:38:17Z")

</div>

Hello. I have set up an enemy ai and i am trying to do line trace damage on that enemy with a gun. However, when i do so, the enemy does not take any damage even though i have everything set up. I have attached images be…

---

## [Patrolling Enemy problem](https://forums.unrealengine.com/t/patrolling-enemy-problem/1160860)

<div class="topic-metadata">

**Author:** [@Pmiller001](https://forums.unrealengine.com/u/Pmiller001)\
**Replies:** 7\
**Last updated:** [May 12, 2023, 6:27am UTC](https://forums.unrealengine.com/t/patrolling-enemy-problem/1160860 "2023-05-12T06:27:54Z")

</div>

Hey guys! getting into blueprints and having a lot of fun. I was trying to make a simple enemy that Patrols to the left, and to the right, until you get into their radius (collision sphere) and chases you until you get o…

---

## [How to make the enemy move?](https://forums.unrealengine.com/t/how-to-make-the-enemy-move/391880)

<div class="topic-metadata">

**Author:** [@Sdalvik](https://forums.unrealengine.com/u/Sdalvik)\
**Replies:** 4\
**Last updated:** [December 2, 2022, 11:51pm UTC](https://forums.unrealengine.com/t/how-to-make-the-enemy-move/391880 "2022-12-02T23:51:03Z")

</div>

I’m trying to make an enemy move in a 2d platformer. The blueprint in the event graph should work, but when I play, it just stands there.

---

## [Behavior Tree / AI Run Away After Health \<50](https://forums.unrealengine.com/t/behavior-tree-ai-run-away-after-health-50/715955)

<div class="topic-metadata">

**Author:** [@koriaginn](https://forums.unrealengine.com/u/koriaginn)\
**Replies:** 0\
**Last updated:** [November 26, 2022, 9:45pm UTC](https://forums.unrealengine.com/t/behavior-tree-ai-run-away-after-health-50/715955 "2022-11-26T21:45:39Z")

</div>

Hello! I’m trying to make an enemy AI behavior tree following YouTube tutorials, but something ain’t right: I can’t set up proper conditions for the enemy to start running away if he’s getting damaged too much. I think …

---

## [AI Enemy Movement](https://forums.unrealengine.com/t/ai-enemy-movement/413404)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e48a3f991](https://forums.unrealengine.com/u/anonymous_user_e48a3f991)\
**Replies:** 2\
**Last updated:** [November 15, 2022, 2:46am UTC](https://forums.unrealengine.com/t/ai-enemy-movement/413404 "2022-11-15T02:46:07Z")

</div>

Hi How can i constrain ai movement angles to 90 degrees? basically so enemy only moves in 4 directions Many Thanks …

---

## [How to create an ai enemy that shoot us.](https://forums.unrealengine.com/t/how-to-create-an-ai-enemy-that-shoot-us/463851)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_08986469](https://forums.unrealengine.com/u/anonymous_user_08986469)\
**Replies:** 4\
**Last updated:** [August 7, 2022, 5:51am UTC](https://forums.unrealengine.com/t/how-to-create-an-ai-enemy-that-shoot-us/463851 "2022-08-07T05:51:19Z")

</div>

Please Help me!. I completed a lot of online courses on how to create fps game using ue4. everything is great but when it comes to enemy part they create a zombie enemy. But i want a enemy having a gun and shoot with th…

---

## [Camera zooms in when enemy is near?](https://forums.unrealengine.com/t/camera-zooms-in-when-enemy-is-near/318200)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b31f2228](https://forums.unrealengine.com/u/anonymous_user_b31f2228)\
**Replies:** 1\
**Last updated:** [July 21, 2022, 3:16pm UTC](https://forums.unrealengine.com/t/camera-zooms-in-when-enemy-is-near/318200 "2022-07-21T15:16:02Z")

</div>

Hey, I’m not sure what’s causing this as I can’t find any mention of a similar problem online, hopefully this crappy Gif will show you what the title means: Basically whenever the player character gets close to the en…

---

## [When being hit by an enemy player character flies back](https://forums.unrealengine.com/t/when-being-hit-by-an-enemy-player-character-flies-back/419996)

<div class="topic-metadata">

**Author:** [@PanzerGamingStudios](https://forums.unrealengine.com/u/PanzerGamingStudios)\
**Replies:** 6\
**Last updated:** [April 8, 2022, 2:05pm UTC](https://forums.unrealengine.com/t/when-being-hit-by-an-enemy-player-character-flies-back/419996 "2022-04-08T14:05:37Z")

</div>

Hey guys have attached a link on the video. I am not sure why its doing this. When being hit by an enemy the character pawn flies by by the force of the hit at a crazy distance. I have played around with the capsule set…

---

## [What is the best way to create an enemy Actor?](https://forums.unrealengine.com/t/what-is-the-best-way-to-create-an-enemy-actor/499778)

<div class="topic-metadata">

**Author:** [@OriginUs](https://forums.unrealengine.com/u/OriginUs)\
**Replies:** 2\
**Last updated:** [February 26, 2022, 1:51am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-create-an-enemy-actor/499778 "2022-02-26T01:51:20Z")

</div>

Hello, I’m trying to create a third person fantasy game. I am trying to create enemies that deal melee damage. I’ve been looking for c++ tutorial guides to help me, but I have had no luck in finding one. What I’m aski…

---

## [Sort enemy array in changing target](https://forums.unrealengine.com/t/sort-enemy-array-in-changing-target/489449)

<div class="topic-metadata">

**Author:** [@SeeUDieXD](https://forums.unrealengine.com/u/SeeUDieXD)\
**Replies:** 0\
**Last updated:** [October 2, 2021, 11:24am UTC](https://forums.unrealengine.com/t/sort-enemy-array-in-changing-target/489449 "2021-10-02T11:24:23Z")

</div>

Hi, i wan to ask any idea how to implement the scrolling to switch enemy target locking in terms of sorting enemy array in ascending or descending order? thank you!

---

## [How do I make my enemy character walk from one point to another and despawn?](https://forums.unrealengine.com/t/how-do-i-make-my-enemy-character-walk-from-one-point-to-another-and-despawn/488159)

<div class="topic-metadata">

**Author:** [@Zapking9224](https://forums.unrealengine.com/u/Zapking9224)\
**Replies:** 11\
**Last updated:** [September 1, 2021, 8:12pm UTC](https://forums.unrealengine.com/t/how-do-i-make-my-enemy-character-walk-from-one-point-to-another-and-despawn/488159 "2021-09-01T20:12:45Z")

</div>

Hi, So I have a game where there’s an enemy who will stalk you while you solve puzzles. But a way to introduce him to build tension is to have him walk down a hallway perpendicular to the hallway the player is in and th…

---

## [Can you reduce the enemy's speed of movement for a certain period of time?](https://forums.unrealengine.com/t/can-you-reduce-the-enemys-speed-of-movement-for-a-certain-period-of-time/486465)

<div class="topic-metadata">

**Author:** [@just\_nuts013](https://forums.unrealengine.com/u/just_nuts013)\
**Replies:** 4\
**Last updated:** [July 21, 2021, 7:30am UTC](https://forums.unrealengine.com/t/can-you-reduce-the-enemys-speed-of-movement-for-a-certain-period-of-time/486465 "2021-07-21T07:30:28Z")

</div>

Don’t know if you mean reduce the general speed or the walk(or run) speed. If you need to reduce the walk speed you can access to the movement component of the character and change the Max Walk Speed, everytime you need…

---

## [2D enemy cannon](https://forums.unrealengine.com/t/2d-enemy-cannon/486245)

<div class="topic-metadata">

**Author:** [@Labrador23](https://forums.unrealengine.com/u/Labrador23)\
**Replies:** 1\
**Last updated:** [July 15, 2021, 11:53am UTC](https://forums.unrealengine.com/t/2d-enemy-cannon/486245 "2021-07-15T11:53:57Z")

</div>

How can i make a cannon in a 2D game that shoots automatic towards me after a certain amount of time? It doesnt matter if i have a wall in front of me, it shill shoots in the wall.

---

## [Enemy cannon](https://forums.unrealengine.com/t/enemy-cannon/486211)

<div class="topic-metadata">

**Author:** [@Labrador23](https://forums.unrealengine.com/u/Labrador23)\
**Replies:** 7\
**Last updated:** [July 15, 2021, 10:09am UTC](https://forums.unrealengine.com/t/enemy-cannon/486211 "2021-07-15T10:09:17Z")

</div>

How can i make a cannon that shoots automatic towards me after a certain amount of time? It doesnt matter if i have a wall in front of me, it shill shoots in the wall.

---

## [Help making AI move in random generated tiles (endless runner)](https://forums.unrealengine.com/t/help-making-ai-move-in-random-generated-tiles-endless-runner/430264)

<div class="topic-metadata">

**Author:** [@Elite5partan](https://forums.unrealengine.com/u/Elite5partan)\
**Replies:** 2\
**Last updated:** [June 23, 2021, 5:22pm UTC](https://forums.unrealengine.com/t/help-making-ai-move-in-random-generated-tiles-endless-runner/430264 "2021-06-23T17:22:21Z")

</div>

Navmesh appears to be generating how it should but enemies are not moving. Settings have been added for navmesh invoker. See attached BP for the enemy character, it has a Navigation Invoker already attached. Also h…

---

## [How to make enemy Sprite move backwards slightly before charging forward](https://forums.unrealengine.com/t/how-to-make-enemy-sprite-move-backwards-slightly-before-charging-forward/484992)

<div class="topic-metadata">

**Author:** [@Lothex91](https://forums.unrealengine.com/u/Lothex91)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 6:51pm UTC](https://forums.unrealengine.com/t/how-to-make-enemy-sprite-move-backwards-slightly-before-charging-forward/484992 "2021-06-16T18:51:39Z")

</div>

Hello everyone! I’m trying to make my AI character sprite slide backwards before charging, sort of like old games where enemies bumped into you. I tried a Launch character node but the AI character then teleports aroun…

---

## [Spawning one enemy near the player at random times](https://forums.unrealengine.com/t/spawning-one-enemy-near-the-player-at-random-times/483750)

<div class="topic-metadata">

**Author:** [@Catleopatra](https://forums.unrealengine.com/u/Catleopatra)\
**Replies:** 6\
**Last updated:** [May 22, 2021, 3:59pm UTC](https://forums.unrealengine.com/t/spawning-one-enemy-near-the-player-at-random-times/483750 "2021-05-22T15:59:35Z")

</div>

Spawn actor from class on the (player’s location + Get the player camera’s forward vector and multiply it by negative DistanceFromThePlayer, except for the Z location). You can avoid the enemy from spawning behind a wal…

[Next page](https://forums.unrealengine.com/tag/enemy/2185.md?match_all_tags=true&page=1&tags%5B%5D=enemy)
