# AI

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=89

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

**Page:** 90

---

## [AI Task aborting unexpectedly](https://forums.unrealengine.com/t/ai-task-aborting-unexpectedly/433882)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f315265b1](https://forums.unrealengine.com/u/anonymous_user_f315265b1)\
**Replies:** 0\
**Last updated:** [September 16, 2018, 1:26am UTC](https://forums.unrealengine.com/t/ai-task-aborting-unexpectedly/433882 "2018-09-16T01:26:01Z")

</div>

Hi, I’m having a problem with my AI. I’m using timer handles to fill up and deplete a hunger meter for my NPCs. When they enter a building, it pauses the depletion and runs a function to fill it up. When they exit th…

---

## [AI hugging walls and pathing into corners](https://forums.unrealengine.com/t/ai-hugging-walls-and-pathing-into-corners/433835)

<div class="topic-metadata">

**Author:** [@Aethryx](https://forums.unrealengine.com/u/Aethryx)\
**Replies:** 0\
**Last updated:** [September 15, 2018, 2:33am UTC](https://forums.unrealengine.com/t/ai-hugging-walls-and-pathing-into-corners/433835 "2018-09-15T02:33:21Z")

</div>

My AI character insists on hugging walls as closely as possible to take the shortest route on an AI MoveTo action, often getting it caught on corners, and nothing I’ve done fixes it. I’ve adjusted the agent radius both i…

---

## [Get Random Reachable Point in Radius not working after AI moving](https://forums.unrealengine.com/t/get-random-reachable-point-in-radius-not-working-after-ai-moving/388146)

<div class="topic-metadata">

**Author:** [@Pedro\_Palacios](https://forums.unrealengine.com/u/Pedro_Palacios)\
**Replies:** 3\
**Last updated:** [September 12, 2018, 6:37am UTC](https://forums.unrealengine.com/t/get-random-reachable-point-in-radius-not-working-after-ai-moving/388146 "2018-09-12T06:37:31Z")

</div>

I don’t know if I should have put this in the bug report section, but here is my question: I am trying to recreate a wander behavior, so I set up my behavior tree and level like this: My code in the task BTT\_Roam is…

---

## [StaticNavmesh and level streaming](https://forums.unrealengine.com/t/staticnavmesh-and-level-streaming/433605)

<div class="topic-metadata">

**Author:** [@Answers.Archive](https://forums.unrealengine.com/u/Answers.Archive)\
**Replies:** 27\
**Last updated:** [September 11, 2018, 8:40pm UTC](https://forums.unrealengine.com/t/staticnavmesh-and-level-streaming/433605 "2018-09-11T20:40:54Z")

</div>

We have a large map with streaming sub-levels and was wondering if it was possible to use a static navmesh. We want to avoid using dynamic navmesh. Based on this post Static NavMeshes and Level Streaming - Debugging, Op…

---

## [How do I modify or create an AI sense?](https://forums.unrealengine.com/t/how-do-i-modify-or-create-an-ai-sense/433551)

<div class="topic-metadata">

**Author:** [@Shyfty](https://forums.unrealengine.com/u/Shyfty)\
**Replies:** 0\
**Last updated:** [September 11, 2018, 2:26am UTC](https://forums.unrealengine.com/t/how-do-i-modify-or-create-an-ai-sense/433551 "2018-09-11T02:26:36Z")

</div>

I would like to make a modification to the AISense\_Sight class MaxTracesPerTick variable. Without running a source build of the engine is there a way I can do this? For the curious the reason I would like to do this is …

---

## [Assigning a trigger volume to an actor](https://forums.unrealengine.com/t/assigning-a-trigger-volume-to-an-actor/433544)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_59c36988](https://forums.unrealengine.com/u/anonymous_user_59c36988)\
**Replies:** 2\
**Last updated:** [September 10, 2018, 10:34pm UTC](https://forums.unrealengine.com/t/assigning-a-trigger-volume-to-an-actor/433544 "2018-09-10T22:34:04Z")

</div>

Hi there, I have an AI Character class type that I’d like designers to be able to place in the level with a simple trigger volume to activate their AI when the player enters. Currently this works by adding an event han…

---

## [Help with enemy AI](https://forums.unrealengine.com/t/help-with-enemy-ai/433488)

<div class="topic-metadata">

**Author:** [@jamie1109](https://forums.unrealengine.com/u/jamie1109)\
**Replies:** 2\
**Last updated:** [September 9, 2018, 11:18pm UTC](https://forums.unrealengine.com/t/help-with-enemy-ai/433488 "2018-09-09T23:18:50Z")

</div>

Hi, I bought a book call Blueprint Visual Scripting for Unreal Engine published by packt and the author is Brenden Sewell. I ran into a problem in chapter 5. That is I can’t get the enemy to move back and forth between t…

---

## [How to find a location large enough to place an actor of given size procedurally at run-time?](https://forums.unrealengine.com/t/how-to-find-a-location-large-enough-to-place-an-actor-of-given-size-procedurally-at-run-time/433280)

<div class="topic-metadata">

**Author:** [@cmarston74](https://forums.unrealengine.com/u/cmarston74)\
**Replies:** 7\
**Last updated:** [September 8, 2018, 7:07pm UTC](https://forums.unrealengine.com/t/how-to-find-a-location-large-enough-to-place-an-actor-of-given-size-procedurally-at-run-time/433280 "2018-09-08T19:07:34Z")

</div>

I am working on an RTS game where players and AI can create structures, units, etc. I am looking for some advice on options that are already available in Unreal to find a location the AI can place its structures. Is ther…

---

## [What is the best way to modify paths/path requests in AIController and PathFollowingComponent C++?](https://forums.unrealengine.com/t/what-is-the-best-way-to-modify-paths-path-requests-in-aicontroller-and-pathfollowingcomponent-c/433395)

<div class="topic-metadata">

**Author:** [@LDOGLONDON](https://forums.unrealengine.com/u/LDOGLONDON)\
**Replies:** 0\
**Last updated:** [September 7, 2018, 9:03pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-modify-paths-path-requests-in-aicontroller-and-pathfollowingcomponent-c/433395 "2018-09-07T21:03:02Z")

</div>

I am making a game where the AI will be able to utilize a road network and the navmesh for movement. Basically I want to put a bool option in the BP Move to location function called “Prefer Roads”. When that is true I wi…

---

## [Any way to dynamically select a behavior subtree?](https://forums.unrealengine.com/t/any-way-to-dynamically-select-a-behavior-subtree/399604)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a3f168aa](https://forums.unrealengine.com/u/anonymous_user_a3f168aa)\
**Replies:** 3\
**Last updated:** [September 7, 2018, 3:38pm UTC](https://forums.unrealengine.com/t/any-way-to-dynamically-select-a-behavior-subtree/399604 "2018-09-07T15:38:29Z")

</div>

When you add a BTTask\_RunBehaviorDynamic to your tree you get to specify a ‘tag’ that will identify given place in the BT as potential sub-BT injection location. Then at runtime you can use BTComponent-\>SetDynamicSubtree …

---

## [How to reassign AI controllers to new pawn](https://forums.unrealengine.com/t/how-to-reassign-ai-controllers-to-new-pawn/344191)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_70298a091](https://forums.unrealengine.com/u/anonymous_user_70298a091)\
**Replies:** 4\
**Last updated:** [September 7, 2018, 10:52am UTC](https://forums.unrealengine.com/t/how-to-reassign-ai-controllers-to-new-pawn/344191 "2018-09-07T10:52:47Z")

</div>

I have three characters in my game where the player can cycle between them. What I currently have setup is when the player possess a new character, I a new AI controller on the previous pawn. However, with the current se…

---

## [Multi layer dynamic behaviour trees don't work?](https://forums.unrealengine.com/t/multi-layer-dynamic-behaviour-trees-dont-work/397227)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a3f168aa](https://forums.unrealengine.com/u/anonymous_user_a3f168aa)\
**Replies:** 2\
**Last updated:** [September 7, 2018, 2:30am UTC](https://forums.unrealengine.com/t/multi-layer-dynamic-behaviour-trees-dont-work/397227 "2018-09-07T02:30:47Z")

</div>

So, I got single-layer dynamic behaviour trees working. What I have right now is - A base behaviour tree A dynamic behaviour tree for doing attacks with two types, one for projectile attacks, one for chasing. I set t…

---

## [Ai not moving after spawned after a delay (new)](https://forums.unrealengine.com/t/ai-not-moving-after-spawned-after-a-delay-new/360282)

<div class="topic-metadata">

**Author:** [@Boinga15](https://forums.unrealengine.com/u/Boinga15)\
**Replies:** 4\
**Last updated:** [September 7, 2018, 1:59am UTC](https://forums.unrealengine.com/t/ai-not-moving-after-spawned-after-a-delay-new/360282 "2018-09-07T01:59:59Z")

</div>

i’m having a problem where if i try spawn a ai it works, but when i try after a delay, it does’nt work, it is being possesed but the cast is failing, any tips?

---

## [EQS And Movement/Attacking](https://forums.unrealengine.com/t/eqs-and-movement-attacking/433202)

<div class="topic-metadata">

**Author:** [@Sessional](https://forums.unrealengine.com/u/Sessional)\
**Replies:** 0\
**Last updated:** [September 5, 2018, 2:47am UTC](https://forums.unrealengine.com/t/eqs-and-movement-attacking/433202 "2018-09-05T02:47:06Z")

</div>

I am trying to hook up a behavior tree for my bad guy and hitting a roadblock. I’m struggling to figure out how to stop a movement task so that the minion can instead move to attack the target. So, we have the blackboar…

---

## [Issue with AI Behavior tree](https://forums.unrealengine.com/t/issue-with-ai-behavior-tree/433169)

<div class="topic-metadata">

**Author:** [@AgentArachnid66](https://forums.unrealengine.com/u/AgentArachnid66)\
**Replies:** 1\
**Last updated:** [September 4, 2018, 8:11pm UTC](https://forums.unrealengine.com/t/issue-with-ai-behavior-tree/433169 "2018-09-04T20:11:26Z")

</div>

I am trying to add an animation to my behaviour tree that will play when the AI has just found and just lost the player. I have added it in like this: The task is set up like this: The function it is calling from…

---

## [Having some problems with NavMesh on Paper2D](https://forums.unrealengine.com/t/having-some-problems-with-navmesh-on-paper2d/433038)

<div class="topic-metadata">

**Author:** [@Fireruner](https://forums.unrealengine.com/u/Fireruner)\
**Replies:** 0\
**Last updated:** [September 2, 2018, 11:00pm UTC](https://forums.unrealengine.com/t/having-some-problems-with-navmesh-on-paper2d/433038 "2018-09-02T23:00:49Z")

</div>

I’ve posted this on the Unreal Engine subreddit and still had no responses: Any clue on what could be happening? Thanks in advance

---

## [How to make an AI for Ship side to side combat](https://forums.unrealengine.com/t/how-to-make-an-ai-for-ship-side-to-side-combat/432999)

<div class="topic-metadata">

**Author:** [@Evertoo](https://forums.unrealengine.com/u/Evertoo)\
**Replies:** 2\
**Last updated:** [September 2, 2018, 2:50pm UTC](https://forums.unrealengine.com/t/how-to-make-an-ai-for-ship-side-to-side-combat/432999 "2018-09-02T14:50:10Z")

</div>

Hi! I’d like to ask for some help for my game AI. I have some ships capable of broadside battle, they can move and find who’s enemy or friendly, but i have problems making them go next to each other to get to into gun ra…

---

## [Behavior Tree inactive with Level Streaming](https://forums.unrealengine.com/t/behavior-tree-inactive-with-level-streaming/432754)

<div class="topic-metadata">

**Author:** [@xeoncat](https://forums.unrealengine.com/u/xeoncat)\
**Replies:** 1\
**Last updated:** [September 1, 2018, 11:24am UTC](https://forums.unrealengine.com/t/behavior-tree-inactive-with-level-streaming/432754 "2018-09-01T11:24:12Z")

</div>

tested with UE 4.19.2 and 4.20.2 After loading a level with Load Stream Level, AI Controllers can execute the Run Behavior Tree node but the Tree remains inactive (will show Can’t find matching actors in the debug dropd…

---

## [Character dont walk](https://forums.unrealengine.com/t/character-dont-walk/218610)

<div class="topic-metadata">

**Author:** [@Crepulsor](https://forums.unrealengine.com/u/Crepulsor)\
**Replies:** 0\
**Last updated:** [September 1, 2018, 9:03am UTC](https://forums.unrealengine.com/t/character-dont-walk/218610 "2018-09-01T09:03:05Z")

</div>

hello i m a new and i learn how move a npc whit AI but this not move and i dont find response, i hope help me. here put my behavior tree and blueprint class i expectation help me thanks

---

## [EQS outside of AI: Player as Querier?](https://forums.unrealengine.com/t/eqs-outside-of-ai-player-as-querier/432905)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f05c20b3](https://forums.unrealengine.com/u/anonymous_user_f05c20b3)\
**Replies:** 1\
**Last updated:** [September 1, 2018, 12:10am UTC](https://forums.unrealengine.com/t/eqs-outside-of-ai-player-as-querier/432905 "2018-09-01T00:10:40Z")

</div>

Hi guys, I’m trying to make a Manager class that monitors the game conditions and controls spawning of AI OUTSIDE of a behavior tree or blackboard. The idea is, that this manager will spawn different types of enemies b…

---

## [Can't run behavior tree using c++](https://forums.unrealengine.com/t/cant-run-behavior-tree-using-c/432809)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c5ded45c](https://forums.unrealengine.com/u/anonymous_user_c5ded45c)\
**Replies:** 1\
**Last updated:** [August 31, 2018, 9:25am UTC](https://forums.unrealengine.com/t/cant-run-behavior-tree-using-c/432809 "2018-08-31T09:25:37Z")

</div>

Hi guys! I have a problem using behavior tree with c++. At this point my behavior tree has nothing but just simple custom task which only have PrintString(AddOnScreenDebugMessage) function. I think my problem is spawn…

---

## [Spaceship turret with it's own AI](https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559)

<div class="topic-metadata">

**Author:** [@Evertoo](https://forums.unrealengine.com/u/Evertoo)\
**Replies:** 4\
**Last updated:** [August 30, 2018, 7:04am UTC](https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559 "2018-08-30T07:04:09Z")

</div>

Hi I’d like to create a spaceship with turrets that target other spaceships. each turret with its own Sense component It works fine, the turret can see the target, and rotate, but when i attach it to a socket, it’s …

---

## [Hey guys ive have a few problems with my AI first one is i cannot get it to do damage to the player second is i cannot get it to respawn at different locations it keeps respawning in one loacation. Any help would be greatly appreciated](https://forums.unrealengine.com/t/hey-guys-ive-have-a-few-problems-with-my-ai-first-one-is-i-cannot-get-it-to-do-damage-to-the-player-second-is-i-cannot-get-it-to-respawn-at-different-locations-it-keeps-respawning-in-one-loacation-any-help-would-be-greatly-appreciated/432768)

<div class="topic-metadata">

**Author:** [@Carlsalva](https://forums.unrealengine.com/u/Carlsalva)\
**Replies:** 1\
**Last updated:** [August 30, 2018, 7:01am UTC](https://forums.unrealengine.com/t/hey-guys-ive-have-a-few-problems-with-my-ai-first-one-is-i-cannot-get-it-to-do-damage-to-the-player-second-is-i-cannot-get-it-to-respawn-at-different-locations-it-keeps-respawning-in-one-loacation-any-help-would-be-greatly-appreciated/432768 "2018-08-30T07:01:55Z")

</div>

AI respawn problems

---

## [Shooter game: Bots not spawning on custom map](https://forums.unrealengine.com/t/shooter-game-bots-not-spawning-on-custom-map/432584)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8a281c88](https://forums.unrealengine.com/u/anonymous_user_8a281c88)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 2:57pm UTC](https://forums.unrealengine.com/t/shooter-game-bots-not-spawning-on-custom-map/432584 "2018-08-28T14:57:07Z")

</div>

Hey, so I’ve been trying to figure this out for couple of hours… I am using the Shooter Game sample provided with UE4 and trying to add custom map. I created the map, placed several spawn points for teams 0 and 1. I’ve …

---

## [EQS clamp score not working](https://forums.unrealengine.com/t/eqs-clamp-score-not-working/432631)

<div class="topic-metadata">

**Author:** [@Max974](https://forums.unrealengine.com/u/Max974)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 11:44am UTC](https://forums.unrealengine.com/t/eqs-clamp-score-not-working/432631 "2018-08-28T11:44:09Z")

</div>

Hello guys, I’m having an issue with the clamp score function in the EQS system. As you can see on my capture even if I clamp my minimum value at 0.5 I Still have values under 0.5. Is tat a bug or is there a specific wa…

---

## [Behvaiour tree Move to node asynchonus](https://forums.unrealengine.com/t/behvaiour-tree-move-to-node-asynchonus/432629)

<div class="topic-metadata">

**Author:** [@Bahamut1892](https://forums.unrealengine.com/u/Bahamut1892)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 10:46am UTC](https://forums.unrealengine.com/t/behvaiour-tree-move-to-node-asynchonus/432629 "2018-08-28T10:46:12Z")

</div>

Hello everybody! I am developing a bot and I want that the bot moves to the target but in the way the logic can tell him to take cover or to shoot. The problem is that when I use the node MoveTo, the rest of the tree is…

---

## [AI Service doesnt works correctly](https://forums.unrealengine.com/t/ai-service-doesnt-works-correctly/432550)

<div class="topic-metadata">

**Author:** [@Bahamut1892](https://forums.unrealengine.com/u/Bahamut1892)\
**Replies:** 2\
**Last updated:** [August 28, 2018, 10:38am UTC](https://forums.unrealengine.com/t/ai-service-doesnt-works-correctly/432550 "2018-08-28T10:38:02Z")

</div>

Hello everybody! I am starting in the world of AI and I am making simply AI bots. I have read that to make changes on the blackboard variables I need to use the Service node, so I create a service node every 0.5 seconds…

---

## [AI Move To Location or Actor doesn't work in 4.12](https://forums.unrealengine.com/t/ai-move-to-location-or-actor-doesnt-work-in-4-12/359361)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_530d1e9f1](https://forums.unrealengine.com/u/anonymous_user_530d1e9f1)\
**Replies:** 11\
**Last updated:** [August 28, 2018, 6:25am UTC](https://forums.unrealengine.com/t/ai-move-to-location-or-actor-doesnt-work-in-4-12/359361 "2018-08-28T06:25:40Z")

</div>

Hey guys, I have upgraded my project to 4.12 and found out that the “Move To Location or Actor” node does’nt work. I tried to open new project and use it again in more simple form but it still doesn’t work. (the other …

---

## [Ai moveto and scale](https://forums.unrealengine.com/t/ai-moveto-and-scale/432285)

<div class="topic-metadata">

**Author:** [@1ipt0n](https://forums.unrealengine.com/u/1ipt0n)\
**Replies:** 3\
**Last updated:** [August 24, 2018, 7:47am UTC](https://forums.unrealengine.com/t/ai-moveto-and-scale/432285 "2018-08-24T07:47:21Z")

</div>

Hi, I’m using Ai move to to move my ai character and it works great, but if I Scale character \* 2 it have problems to reach target ( get a little stuck near obsticles ) and if I scale it x3 it will get stuck after first…

---

## [AI move to random object of class](https://forums.unrealengine.com/t/ai-move-to-random-object-of-class/432320)

<div class="topic-metadata">

**Author:** [@hellomodder](https://forums.unrealengine.com/u/hellomodder)\
**Replies:** 1\
**Last updated:** [August 23, 2018, 10:43pm UTC](https://forums.unrealengine.com/t/ai-move-to-random-object-of-class/432320 "2018-08-23T22:43:07Z")

</div>

I want to have a basic A.I that will find an specific object class in a world, such as a TV class, and have it so if there are multiple tv’s in the world it’ll choose a random tv and walk to the tv it randomly chose, how…

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=88)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=90)
