# AI

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

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

**Page:** 92

---

## [Stop AI from chasing player](https://forums.unrealengine.com/t/stop-ai-from-chasing-player/430723)

<div class="topic-metadata">

**Author:** [@ApocalypticAI](https://forums.unrealengine.com/u/ApocalypticAI)\
**Replies:** 6\
**Last updated:** [August 1, 2018, 1:29pm UTC](https://forums.unrealengine.com/t/stop-ai-from-chasing-player/430723 "2018-08-01T13:29:52Z")

</div>

So I have a cow in a pen I made for him. I am using 2x and 2y values to keep him patrolling in a square when roaming. When he gets the signal to attack he will chase the player and deal damage. I am using a simple “AI mo…

---

## [EQS is not available?](https://forums.unrealengine.com/t/eqs-is-not-available/417774)

<div class="topic-metadata">

**Author:** [@R.Achmann](https://forums.unrealengine.com/u/R.Achmann)\
**Replies:** 1\
**Last updated:** [August 1, 2018, 8:30am UTC](https://forums.unrealengine.com/t/eqs-is-not-available/417774 "2018-08-01T08:30:45Z")

</div>

I’m really sorry - I’m using 4.18.3 and I can’t add an Environmental Query. It’s not available in the AI menu when trying to add an advanced item, it’s not in project settings, and you can’t add one from the BT. I can’t…

---

## [UE4.20 FNavigationSystem::GetCurrent() not working](https://forums.unrealengine.com/t/ue4-20-fnavigationsystem-getcurrent-not-working/429880)

<div class="topic-metadata">

**Author:** [@BLaZeKiLL](https://forums.unrealengine.com/u/BLaZeKiLL)\
**Replies:** 2\
**Last updated:** [August 1, 2018, 1:33am UTC](https://forums.unrealengine.com/t/ue4-20-fnavigationsystem-getcurrent-not-working/429880 "2018-08-01T01:33:43Z")

</div>

as per the 4.20 Release notes the navigation system was moved to a separate module and i have been following this I added the NavigationSystem as a dependency and fixed the Include statements and as the notes say Wo…

---

## [Engine Crash Bug](https://forums.unrealengine.com/t/engine-crash-bug/430679)

<div class="topic-metadata">

**Author:** [@TFHeir](https://forums.unrealengine.com/u/TFHeir)\
**Replies:** 1\
**Last updated:** [July 31, 2018, 9:51pm UTC](https://forums.unrealengine.com/t/engine-crash-bug/430679 "2018-07-31T21:51:19Z")

</div>

After I click Play ,maybe five seconds I think , Engine shut down and crash . I’m pretty sure the reason is my AIPawn . Because when I remove it everything is OK. But I don’t know the problem exactly. AIPawn can mo…

---

## [Pending Kill From Function](https://forums.unrealengine.com/t/pending-kill-from-function/430601)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2d943c9e](https://forums.unrealengine.com/u/anonymous_user_2d943c9e)\
**Replies:** 10\
**Last updated:** [July 31, 2018, 8:24pm UTC](https://forums.unrealengine.com/t/pending-kill-from-function/430601 "2018-07-31T20:24:05Z")

</div>

I’ve seen this type of questions before, but not with my issue. Whenever I play the game and quit it, the log returns an error that says: Screenshot - 49b23ba9b971aabe8bda071df7547e9a - Gyazo This is the blueprint from …

---

## [Why do we use an AI Controller?](https://forums.unrealengine.com/t/why-do-we-use-an-ai-controller/430665)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_983f9c92](https://forums.unrealengine.com/u/anonymous_user_983f9c92)\
**Replies:** 1\
**Last updated:** [July 31, 2018, 7:56pm UTC](https://forums.unrealengine.com/t/why-do-we-use-an-ai-controller/430665 "2018-07-31T19:56:49Z")

</div>

Watching a lot of tuts on Youtube. I have seen methods of programing your enemy’s AI. But I don’t understand why you make the event in the character. Then make the event again in the AI controller. Then make the event ag…

---

## [How can I get behavior trees to stop clearing their blackboard values when switching to a new blackboard?](https://forums.unrealengine.com/t/how-can-i-get-behavior-trees-to-stop-clearing-their-blackboard-values-when-switching-to-a-new-blackboard/428839)

<div class="topic-metadata">

**Author:** [@Cakebread](https://forums.unrealengine.com/u/Cakebread)\
**Replies:** 1\
**Last updated:** [July 30, 2018, 11:02pm UTC](https://forums.unrealengine.com/t/how-can-i-get-behavior-trees-to-stop-clearing-their-blackboard-values-when-switching-to-a-new-blackboard/428839 "2018-07-30T23:02:49Z")

</div>

I’ve got several different behavior trees, each of which has its own blackboard, and NPCs will switch between these different behavior trees at different times in the game. I’m using the blackboard values in part to trac…

---

## [How to make helpful AI](https://forums.unrealengine.com/t/how-to-make-helpful-ai/429895)

<div class="topic-metadata">

**Author:** [@Venomized\_Elite](https://forums.unrealengine.com/u/Venomized_Elite)\
**Replies:** 19\
**Last updated:** [July 30, 2018, 9:24pm UTC](https://forums.unrealengine.com/t/how-to-make-helpful-ai/429895 "2018-07-30T21:24:39Z")

</div>

Hi everyone I am making an fps game and I was hoping someone could help me with AI specifically AI that helps the player such as Picking up weapons, killing zombies, ducking for cover hiding in buildings etc. but I have …

---

## [AI roam within area](https://forums.unrealengine.com/t/ai-roam-within-area/430519)

<div class="topic-metadata">

**Author:** [@ApocalypticAI](https://forums.unrealengine.com/u/ApocalypticAI)\
**Replies:** 2\
**Last updated:** [July 30, 2018, 9:24am UTC](https://forums.unrealengine.com/t/ai-roam-within-area/430519 "2018-07-30T09:24:50Z")

</div>

Hi there. I am having a question about roaming Ai I want cows roaming around in their pen in a open world scenario +(like on a farm surrounded by fences). I want to have a gate within the fence for players to move in an…

---

## [The Equalizer 2 Movie](https://forums.unrealengine.com/t/the-equalizer-2-movie/430444)

<div class="topic-metadata">

**Author:** [@freashmake78](https://forums.unrealengine.com/u/freashmake78)\
**Replies:** 0\
**Last updated:** [July 28, 2018, 10:16am UTC](https://forums.unrealengine.com/t/the-equalizer-2-movie/430444 "2018-07-28T10:16:41Z")

</div>

---

## [Is it possible to add multiple Sight Configs to one Perception Component in C++?](https://forums.unrealengine.com/t/is-it-possible-to-add-multiple-sight-configs-to-one-perception-component-in-c/421315)

<div class="topic-metadata">

**Author:** [@Muirey03](https://forums.unrealengine.com/u/Muirey03)\
**Replies:** 1\
**Last updated:** [July 24, 2018, 9:56pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-add-multiple-sight-configs-to-one-perception-component-in-c/421315 "2018-07-24T21:56:56Z")

</div>

How can I add multiple sight configs to one perception component in c++? Whenever I add a second sight config, it just replaces the first one. How can I add more than one?

---

## [AI Perception - more sight sources on one actor](https://forums.unrealengine.com/t/ai-perception-more-sight-sources-on-one-actor/378587)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8977fd73](https://forums.unrealengine.com/u/anonymous_user_8977fd73)\
**Replies:** 7\
**Last updated:** [July 24, 2018, 9:47pm UTC](https://forums.unrealengine.com/t/ai-perception-more-sight-sources-on-one-actor/378587 "2018-07-24T21:47:52Z")

</div>

How can I add more AI Perception sources for sight sense for one actor? I’ve faced the problem, that actor’s pivot hides underground, so enemies don’t see him. I would also like to have more then only one sense source on…

---

## [Behavior Tree Quick Start Guide](https://forums.unrealengine.com/t/behavior-tree-quick-start-guide/429937)

<div class="topic-metadata">

**Author:** [@adamrriggs11](https://forums.unrealengine.com/u/adamrriggs11)\
**Replies:** 2\
**Last updated:** [July 21, 2018, 11:49pm UTC](https://forums.unrealengine.com/t/behavior-tree-quick-start-guide/429937 "2018-07-21T23:49:02Z")

</div>

I followed the Behavior Tree Quick Start Guide and it fails to runs the Sequence section.

---

## [How to make ai commanded](https://forums.unrealengine.com/t/how-to-make-ai-commanded/429894)

<div class="topic-metadata">

**Author:** [@Venomized\_Elite](https://forums.unrealengine.com/u/Venomized_Elite)\
**Replies:** 0\
**Last updated:** [July 20, 2018, 11:42pm UTC](https://forums.unrealengine.com/t/how-to-make-ai-commanded/429894 "2018-07-20T23:42:17Z")

</div>

Hi everyone I am making an FPS zombie game and was wondering if anyone could tell me how to make ai that helps the player (in blueprints without behavior trees) what I mean is it will pickup weapons and ammo, attack zomb…

---

## [Custom events on AI character not showing up on Controller](https://forums.unrealengine.com/t/custom-events-on-ai-character-not-showing-up-on-controller/429874)

<div class="topic-metadata">

**Author:** [@AgentArachnid66](https://forums.unrealengine.com/u/AgentArachnid66)\
**Replies:** 1\
**Last updated:** [July 20, 2018, 9:54pm UTC](https://forums.unrealengine.com/t/custom-events-on-ai-character-not-showing-up-on-controller/429874 "2018-07-20T21:54:08Z")

</div>

Hi, I am trying to make an AI that attacks the player. But my custom events that I made in my character BP aren’t showing up when I try to fire them in the Controller. This is from my character BP. This is from my …

---

## [How can I make the AI always take the shortest path?](https://forums.unrealengine.com/t/how-can-i-make-the-ai-always-take-the-shortest-path/429723)

<div class="topic-metadata">

**Author:** [@Kochab](https://forums.unrealengine.com/u/Kochab)\
**Replies:** 2\
**Last updated:** [July 20, 2018, 6:50pm UTC](https://forums.unrealengine.com/t/how-can-i-make-the-ai-always-take-the-shortest-path/429723 "2018-07-20T18:50:38Z")

</div>

I’m making a tower defense game where the AI has to find a path through a maze of the player’s towers and blocks. The AI should always try to take the shortest path so that the player can plan around predictable behavior…

---

## [Receive Activation AI (pawn invalid)](https://forums.unrealengine.com/t/receive-activation-ai-pawn-invalid/429857)

<div class="topic-metadata">

**Author:** [@DannTaylor](https://forums.unrealengine.com/u/DannTaylor)\
**Replies:** 0\
**Last updated:** [July 20, 2018, 4:51pm UTC](https://forums.unrealengine.com/t/receive-activation-ai-pawn-invalid/429857 "2018-07-20T16:51:06Z")

</div>

if i call receive activation ai from a service, it returns the controller valid but the pawn not valid, however if i call receive activation ai from a task it returns valid. Is this supposed to happen?

---

## [How to get pawns to sense other pawns of the same Class](https://forums.unrealengine.com/t/how-to-get-pawns-to-sense-other-pawns-of-the-same-class/429770)

<div class="topic-metadata">

**Author:** [@MichaelWK3D](https://forums.unrealengine.com/u/MichaelWK3D)\
**Replies:** 1\
**Last updated:** [July 19, 2018, 3:54pm UTC](https://forums.unrealengine.com/t/how-to-get-pawns-to-sense-other-pawns-of-the-same-class/429770 "2018-07-19T15:54:31Z")

</div>

You could check the the casted pawn doesn’t equal self before calling the move node You also don’t have a location set on the move node

---

## [How can I edit the path that tells an AI character where to move?](https://forums.unrealengine.com/t/how-can-i-edit-the-path-that-tells-an-ai-character-where-to-move/315436)

<div class="topic-metadata">

**Author:** [@jechli\_1](https://forums.unrealengine.com/u/jechli_1)\
**Replies:** 9\
**Last updated:** [July 18, 2018, 4:49pm UTC](https://forums.unrealengine.com/t/how-can-i-edit-the-path-that-tells-an-ai-character-where-to-move/315436 "2018-07-18T16:49:22Z")

</div>

I’m currently trying to create a custom Path Following Component for my AI character so that I can edit the path that it tells the character to go. The reason I am doing this is because I want to create a smoother path f…

---

## [I find a problem about EQS Generate AddGeneratedVector,please check it](https://forums.unrealengine.com/t/i-find-a-problem-about-eqs-generate-addgeneratedvector-please-check-it/400760)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2ca16e92](https://forums.unrealengine.com/u/anonymous_user_2ca16e92)\
**Replies:** 2\
**Last updated:** [July 18, 2018, 5:24am UTC](https://forums.unrealengine.com/t/i-find-a-problem-about-eqs-generate-addgeneratedvector-please-check-it/400760 "2018-07-18T05:24:04Z")

</div>

void UEnvQueryGenerator\_BlueprintBase::AddGeneratedVector(FVector Vector) const { check(CachedQueryInstance); if (ensure(ItemType-\>IsChildOf\<UEnvQueryItemType\_ActorBase\>() == false)) { CachedQueryInstance-\>AddItemDa…

---

## [How make one enemy alart other enemy in area](https://forums.unrealengine.com/t/how-make-one-enemy-alart-other-enemy-in-area/429341)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9f407095](https://forums.unrealengine.com/u/anonymous_user_9f407095)\
**Replies:** 11\
**Last updated:** [July 16, 2018, 9:40pm UTC](https://forums.unrealengine.com/t/how-make-one-enemy-alart-other-enemy-in-area/429341 "2018-07-16T21:40:42Z")

</div>

hi if anyone can help in this problem and make this AI i will very thankful i need help for this AI if anyone cant say code c++ of this you can help me with blueprint

---

## [Successfully Sensed returning false every few frames](https://forums.unrealengine.com/t/successfully-sensed-returning-false-every-few-frames/429542)

<div class="topic-metadata">

**Author:** [@Jakoban](https://forums.unrealengine.com/u/Jakoban)\
**Replies:** 0\
**Last updated:** [July 16, 2018, 2:27pm UTC](https://forums.unrealengine.com/t/successfully-sensed-returning-false-every-few-frames/429542 "2018-07-16T14:27:45Z")

</div>

I am following and Unreal course and am a newbie to the engine. So, here’s a brief explanation of what’s happening and what should happen. The AIController BP sets up the blackboard and the behavior tree. The AI Percepti…

---

## [Why isn't the object value being set in the behavior tree?](https://forums.unrealengine.com/t/why-isnt-the-object-value-being-set-in-the-behavior-tree/429291)

<div class="topic-metadata">

**Author:** [@Belicure](https://forums.unrealengine.com/u/Belicure)\
**Replies:** 7\
**Last updated:** [July 12, 2018, 7:34pm UTC](https://forums.unrealengine.com/t/why-isnt-the-object-value-being-set-in-the-behavior-tree/429291 "2018-07-12T19:34:27Z")

</div>

I’m trying to make this guy walk around when he hears a noise, and although he hears it, he doesn’t do anything.I thought I was making the proper connections setting the variable as an object and the decorator activating…

---

## [How to set the speed of an AI to a target point](https://forums.unrealengine.com/t/how-to-set-the-speed-of-an-ai-to-a-target-point/429050)

<div class="topic-metadata">

**Author:** [@macmachi](https://forums.unrealengine.com/u/macmachi)\
**Replies:** 2\
**Last updated:** [July 12, 2018, 1:36pm UTC](https://forums.unrealengine.com/t/how-to-set-the-speed-of-an-ai-to-a-target-point/429050 "2018-07-12T13:36:49Z")

</div>

Hi UE4 community, I tried for an hour to find the solution but I don’t understand. I can’t reduce the speed of my AI bot to my target point. In my BP, after 2 seconds I tell him to go at this speed (this allows me to c…

---

## [Behavior Tree and Events](https://forums.unrealengine.com/t/behavior-tree-and-events/429239)

<div class="topic-metadata">

**Author:** [@Observer64](https://forums.unrealengine.com/u/Observer64)\
**Replies:** 0\
**Last updated:** [July 11, 2018, 9:47pm UTC](https://forums.unrealengine.com/t/behavior-tree-and-events/429239 "2018-07-11T21:47:05Z")

</div>

so Ive been trying to learn use of the behavior tree, I have a decent grasp of it, but have a bunch of questions: there doesnt appear to be a way to ‘init’ things. Like for example I can init the blackboard values in …

---

## [How to make AI and Human character share the same parent BP?](https://forums.unrealengine.com/t/how-to-make-ai-and-human-character-share-the-same-parent-bp/324887)

<div class="topic-metadata">

**Author:** [@davek](https://forums.unrealengine.com/u/davek)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 6:07pm UTC](https://forums.unrealengine.com/t/how-to-make-ai-and-human-character-share-the-same-parent-bp/324887 "2018-07-11T18:07:17Z")

</div>

For obvious reasons I’d like my AI characters have the exact same array of features that the human character benefits from. This asks for a common BP parent, which isn’t a big deal… …however, how do I make AI controller…

---

## [AI gets stuck on landscape navmesh](https://forums.unrealengine.com/t/ai-gets-stuck-on-landscape-navmesh/428666)

<div class="topic-metadata">

**Author:** [@TetraStudiosDev](https://forums.unrealengine.com/u/TetraStudiosDev)\
**Replies:** 2\
**Last updated:** [July 11, 2018, 12:17pm UTC](https://forums.unrealengine.com/t/ai-gets-stuck-on-landscape-navmesh/428666 "2018-07-11T12:17:04Z")

</div>

Hello! I have a problem with my AI, which is that it sometimes gets stuck on the landscape. As seen in the below image, there is a gap in the navmesh. (The square holes) I know there are settings that change the nav…

---

## [Aiに空中にいるキャラクターを追尾してほしい](https://forums.unrealengine.com/t/ai/428630)

<div class="topic-metadata">

**Author:** [@ES\_GrayHelm](https://forums.unrealengine.com/u/ES_GrayHelm)\
**Replies:** 2\
**Last updated:** [July 10, 2018, 11:48pm UTC](https://forums.unrealengine.com/t/ai/428630 "2018-07-10T23:48:37Z")

</div>

自分が操作するキャラクターを追尾するAIを作りたいです。 NavMeshは空中高くにいるキャラクターを追ってくれず、 キャラクターの位置や変数をAIに渡そうとしても、AIcontrollerはそれをActor間と同じ様には受け取ってくれません。 AIに空中にいるキャラクターを上手く追尾してもらうには、どのような方法を用いればよろしいですか？

---

## [Weird npc Behavior](https://forums.unrealengine.com/t/weird-npc-behavior/429002)

<div class="topic-metadata">

**Author:** [@metalheadqx](https://forums.unrealengine.com/u/metalheadqx)\
**Replies:** 7\
**Last updated:** [July 10, 2018, 12:04pm UTC](https://forums.unrealengine.com/t/weird-npc-behavior/429002 "2018-07-10T12:04:36Z")

</div>

Hello guys been trying to make an rts game once iworked on ai the npc that should walk to building now just falls and dies for some reason thanks in advanced for your help

---

## [\[Move to Actor\] My AI don't want to move!](https://forums.unrealengine.com/t/move-to-actor-my-ai-dont-want-to-move/429026)

<div class="topic-metadata">

**Author:** [@macmachi](https://forums.unrealengine.com/u/macmachi)\
**Replies:** 2\
**Last updated:** [July 9, 2018, 8:25pm UTC](https://forums.unrealengine.com/t/move-to-actor-my-ai-dont-want-to-move/429026 "2018-07-09T20:25:39Z")

</div>

Hi community, My AI bot (it’s a BP) doesn’t want to move. I don’t know why. Must give it a speed somewhere? Look the BP of my AI bot : Your help will be appreciate !

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

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