# AI

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

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

**Page:** 71

---

## [What would be the best method to go about controlling a pawn in a turn based tabletop game?](https://forums.unrealengine.com/t/what-would-be-the-best-method-to-go-about-controlling-a-pawn-in-a-turn-based-tabletop-game/460634)

<div class="topic-metadata">

**Author:** [@daylun](https://forums.unrealengine.com/u/daylun)\
**Replies:** 4\
**Last updated:** [January 22, 2020, 8:19pm UTC](https://forums.unrealengine.com/t/what-would-be-the-best-method-to-go-about-controlling-a-pawn-in-a-turn-based-tabletop-game/460634 "2020-01-22T20:19:59Z")

</div>

Hi, I suppose adding a Nav mesh and the “AI Move to” node on a AI controller would do the trick? I’ve not tried anything like it tho, but it is the first thing that came to mind.

---

## [How to check if AI path is valid (i.e. AI can reach target)?](https://forums.unrealengine.com/t/how-to-check-if-ai-path-is-valid-i-e-ai-can-reach-target/460555)

<div class="topic-metadata">

**Author:** [@dirtInfestor](https://forums.unrealengine.com/u/dirtInfestor)\
**Replies:** 1\
**Last updated:** [January 15, 2020, 10:13pm UTC](https://forums.unrealengine.com/t/how-to-check-if-ai-path-is-valid-i-e-ai-can-reach-target/460555 "2020-01-15T22:13:23Z")

</div>

Hi, So here is the basic problem i am currently facing: I am spawning AI enemies that should walk to a certain location. The player can however build obstacles that can make this way longer. If the player now makes it i…

---

## [EQS Update Graph Window doesn't show](https://forums.unrealengine.com/t/eqs-update-graph-window-doesnt-show/448116)

<div class="topic-metadata">

**Author:** [@vediban](https://forums.unrealengine.com/u/vediban)\
**Replies:** 1\
**Last updated:** [January 13, 2020, 12:33am UTC](https://forums.unrealengine.com/t/eqs-update-graph-window-doesnt-show/448116 "2020-01-13T00:33:59Z")

</div>

I cannot open EQS Update Graph, I can only open this details window

---

## [In melee games do enemies wait for their turn to attack? or do they attack randomly no matter when?](https://forums.unrealengine.com/t/in-melee-games-do-enemies-wait-for-their-turn-to-attack-or-do-they-attack-randomly-no-matter-when/460458)

<div class="topic-metadata">

**Author:** [@AbdelrahmanSaid](https://forums.unrealengine.com/u/AbdelrahmanSaid)\
**Replies:** 4\
**Last updated:** [January 12, 2020, 1:51am UTC](https://forums.unrealengine.com/t/in-melee-games-do-enemies-wait-for-their-turn-to-attack-or-do-they-attack-randomly-no-matter-when/460458 "2020-01-12T01:51:22Z")

</div>

Hi, I have been searching for an answer to this question for quite a long time… cause it looks pretty natural in games like assassins creed but when you let enemies attack randomly they basically mess it up! thanks in…

---

## [Having Trouble Turning AI in place](https://forums.unrealengine.com/t/having-trouble-turning-ai-in-place/408560)

<div class="topic-metadata">

**Author:** [@0vr](https://forums.unrealengine.com/u/0vr)\
**Replies:** 4\
**Last updated:** [January 10, 2020, 1:33am UTC](https://forums.unrealengine.com/t/having-trouble-turning-ai-in-place/408560 "2020-01-10T01:33:26Z")

</div>

I’m trying to make the AI turn to face it’s Destination Location before moving forward but for some reason it keeps getting stuck in a looping turning animation with the result of a Find Look At Rotation not making much …

---

## [Is the funding from government grants subject to royalties?](https://forums.unrealengine.com/t/is-the-funding-from-government-grants-subject-to-royalties/460040)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_30ce41d8](https://forums.unrealengine.com/u/anonymous_user_30ce41d8)\
**Replies:** 2\
**Last updated:** [January 7, 2020, 2:18am UTC](https://forums.unrealengine.com/t/is-the-funding-from-government-grants-subject-to-royalties/460040 "2020-01-07T02:18:27Z")

</div>

I’ve searched for the answer with no luck. The FAQ of the Publisher’s license states the following (excluding what I believe is not relevant): "You agree to pay Epic a royalty equal to 5% … as follows: e. Revenue from …

---

## [Nav Mesh Isn't Working](https://forums.unrealengine.com/t/nav-mesh-isnt-working/460210)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2b12de77](https://forums.unrealengine.com/u/anonymous_user_2b12de77)\
**Replies:** 0\
**Last updated:** [January 5, 2020, 10:24pm UTC](https://forums.unrealengine.com/t/nav-mesh-isnt-working/460210 "2020-01-05T22:24:14Z")

</div>

For reference I’m using a system in which if the player clicks the left side of the screen the character is supposed to run to the left and onto another area of the map. It works on other areas of the map but not here an…

---

## [Behaviour Tree stuck at "Steps Back: -1](https://forums.unrealengine.com/t/behaviour-tree-stuck-at-steps-back-1/460014)

<div class="topic-metadata">

**Author:** [@RCV2](https://forums.unrealengine.com/u/RCV2)\
**Replies:** 2\
**Last updated:** [January 2, 2020, 10:22pm UTC](https://forums.unrealengine.com/t/behaviour-tree-stuck-at-steps-back-1/460014 "2020-01-02T22:22:13Z")

</div>

My behaviour tree is always as “Steps Back: -1” instead of Simulating, what does it mean? The BT is not empty and I’m running it in the c++ AIController OnPossess (setting it up in begin play doens’t work either). It se…

---

## [AiPerception sight only detect actors?](https://forums.unrealengine.com/t/aiperception-sight-only-detect-actors/459969)

<div class="topic-metadata">

**Author:** [@AAriyAA](https://forums.unrealengine.com/u/AAriyAA)\
**Replies:** 3\
**Last updated:** [December 29, 2019, 9:23pm UTC](https://forums.unrealengine.com/t/aiperception-sight-only-detect-actors/459969 "2019-12-29T21:23:36Z")

</div>

Does AiPerception sight only detect actors? there is any way they can detect components too? ai detects first player from origin location of actor or its detecs from colloison? my actor stand-in its place and not move…

---

## [Behaviour Tree is Inactive (instead of Simulating)](https://forums.unrealengine.com/t/behaviour-tree-is-inactive-instead-of-simulating/321557)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f3fb80e6](https://forums.unrealengine.com/u/anonymous_user_f3fb80e6)\
**Replies:** 3\
**Last updated:** [December 29, 2019, 3:46pm UTC](https://forums.unrealengine.com/t/behaviour-tree-is-inactive-instead-of-simulating/321557 "2019-12-29T15:46:51Z")

</div>

I have created a new project with a new Pawn actor, controlled by a controller derived from AiController. I also created a BT actor and a blackboard. The BT itself is empty, ie. it only contains the default root node. I…

---

## [Can i scale up my ai Perception debugger?](https://forums.unrealengine.com/t/can-i-scale-up-my-ai-perception-debugger/459941)

<div class="topic-metadata">

**Author:** [@AAriyAA](https://forums.unrealengine.com/u/AAriyAA)\
**Replies:** 2\
**Last updated:** [December 29, 2019, 12:35pm UTC](https://forums.unrealengine.com/t/can-i-scale-up-my-ai-perception-debugger/459941 "2019-12-29T12:35:19Z")

</div>

My game is in big space with large pawns so I think the reason I can see my perception Debugger is, its simply small. there is any way I can scale up the size of visual Debugger off Ai perception? Perception part:

---

## [AI suddenly stoping at segments along the path](https://forums.unrealengine.com/t/ai-suddenly-stoping-at-segments-along-the-path/459796)

<div class="topic-metadata">

**Author:** [@RowelCaps](https://forums.unrealengine.com/u/RowelCaps)\
**Replies:** 0\
**Last updated:** [December 21, 2019, 11:39pm UTC](https://forums.unrealengine.com/t/ai-suddenly-stoping-at-segments-along-the-path/459796 "2019-12-21T23:39:50Z")

</div>

Hello! I overrided the UPathFollowingComponent for root motion capabilities but I encountered a problem where when the AI pawn arrived in a segment along the path he suddenly stops for a few second then move again. It’s …

---

## [AI UPathFollowingComponent not making generating path properly](https://forums.unrealengine.com/t/ai-upathfollowingcomponent-not-making-generating-path-properly/459756)

<div class="topic-metadata">

**Author:** [@RowelCaps](https://forums.unrealengine.com/u/RowelCaps)\
**Replies:** 0\
**Last updated:** [December 20, 2019, 5:25pm UTC](https://forums.unrealengine.com/t/ai-upathfollowingcomponent-not-making-generating-path-properly/459756 "2019-12-20T17:25:18Z")

</div>

Hello. It seems to be my AI is not generating Path properly. I’ve overriden FollowPathSegment and i Inherited to UPathFollowingComponent. So i can put my root motion controller in my AI. void URootMotionPathFollowing::F…

---

## [AI Controller Driven by Root Motion](https://forums.unrealengine.com/t/ai-controller-driven-by-root-motion/459737)

<div class="topic-metadata">

**Author:** [@RowelCaps](https://forums.unrealengine.com/u/RowelCaps)\
**Replies:** 0\
**Last updated:** [December 20, 2019, 5:22am UTC](https://forums.unrealengine.com/t/ai-controller-driven-by-root-motion/459737 "2019-12-20T05:22:54Z")

</div>

I’ve created a root motion controller for my character and my I made the AI move by root motion too. I used the navigation system to get the path points and move the Input horizontal and vertical based on the dot product…

---

## [Getting the AI to walk to the nearest Capture Zone Which isn't its own](https://forums.unrealengine.com/t/getting-the-ai-to-walk-to-the-nearest-capture-zone-which-isnt-its-own/459630)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fd3f47eb](https://forums.unrealengine.com/u/anonymous_user_fd3f47eb)\
**Replies:** 1\
**Last updated:** [December 17, 2019, 12:24pm UTC](https://forums.unrealengine.com/t/getting-the-ai-to-walk-to-the-nearest-capture-zone-which-isnt-its-own/459630 "2019-12-17T12:24:24Z")

</div>

So I have a game where I need the AI to slowly stat taking over zones. I had it go to random location and if the zone it was in was not theirs it would wait there and if it was, it would go away… I wanted to make it sma…

---

## [Why is my AI glitching on a nav link proxy?](https://forums.unrealengine.com/t/why-is-my-ai-glitching-on-a-nav-link-proxy/370494)

<div class="topic-metadata">

**Author:** [@Tommow](https://forums.unrealengine.com/u/Tommow)\
**Replies:** 1\
**Last updated:** [December 17, 2019, 10:04am UTC](https://forums.unrealengine.com/t/why-is-my-ai-glitching-on-a-nav-link-proxy/370494 "2019-12-17T10:04:08Z")

</div>

Hey, I have a Nav Link Proxy setup and it does work… however the AI is acting very very strange. The best way I can show you is by posting a video on youtube, so please follow the link - YouTube As you can see the AI …

---

## [How to exceed max height of navigation generation?](https://forums.unrealengine.com/t/how-to-exceed-max-height-of-navigation-generation/459626)

<div class="topic-metadata">

**Author:** [@BFG2k](https://forums.unrealengine.com/u/BFG2k)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 9:17am UTC](https://forums.unrealengine.com/t/how-to-exceed-max-height-of-navigation-generation/459626 "2019-12-17T09:17:08Z")

</div>

Hello, guys. I want to create a huge map and also have some navigable objects in the sky, but my navigation bounds only generate navigation in fixed height under it’s’ bottom. (~24.5k as I found by testing). Creating mul…

---

## [Where can I learn more about EQS?](https://forums.unrealengine.com/t/where-can-i-learn-more-about-eqs/459583)

<div class="topic-metadata">

**Author:** [@Clarksina](https://forums.unrealengine.com/u/Clarksina)\
**Replies:** 1\
**Last updated:** [December 16, 2019, 3:21pm UTC](https://forums.unrealengine.com/t/where-can-i-learn-more-about-eqs/459583 "2019-12-16T15:21:21Z")

</div>

The documentation of EQS is simple and not deep enough. I want to know more about its operating principle and design details. Thanks

---

## [VR Walk Trough Licensing](https://forums.unrealengine.com/t/vr-walk-trough-licensing/459386)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b3ff9133](https://forums.unrealengine.com/u/anonymous_user_b3ff9133)\
**Replies:** 1\
**Last updated:** [December 11, 2019, 2:55pm UTC](https://forums.unrealengine.com/t/vr-walk-trough-licensing/459386 "2019-12-11T14:55:20Z")

</div>

Hello, We are an agency (3 persons) and intend to create an interactive VR-walkthrough for a client who produces technical equipment. It´s a VR-walkthrough along his custom made buildings with technical equipment inside…

---

## [My Ai character is not moving](https://forums.unrealengine.com/t/my-ai-character-is-not-moving/459365)

<div class="topic-metadata">

**Author:** [@Philipt235](https://forums.unrealengine.com/u/Philipt235)\
**Replies:** 0\
**Last updated:** [December 11, 2019, 2:40pm UTC](https://forums.unrealengine.com/t/my-ai-character-is-not-moving/459365 "2019-12-11T14:40:59Z")

</div>

So I have this nav mesh below my Ai and there is another nav mesh, lets call it nav mesh 2, that I have created in a different location. If I have that nav mesh 2 on the scene, My Ai character moves fine, however when I…

---

## [UE 4.20.1 Navigation System BUG?](https://forums.unrealengine.com/t/ue-4-20-1-navigation-system-bug/431059)

<div class="topic-metadata">

**Author:** [@Anonymous\_e5d5c0bf7d300728867097ff79906dbe](https://forums.unrealengine.com/u/Anonymous_e5d5c0bf7d300728867097ff79906dbe)\
**Replies:** 11\
**Last updated:** [December 10, 2019, 10:19pm UTC](https://forums.unrealengine.com/t/ue-4-20-1-navigation-system-bug/431059 "2019-12-10T22:19:58Z")

</div>

After porting from 4.19.2 to 4.20.1 I failed to package the game → Output log error suggested to change /script/engine.navigationsystem to /script/NavigationSyste.NavigationSystemV1 After I did the change I can not hav…

---

## [AI Behavior Tree - How to choose action based on a boolean variable?](https://forums.unrealengine.com/t/ai-behavior-tree-how-to-choose-action-based-on-a-boolean-variable/459229)

<div class="topic-metadata">

**Author:** [@zghenzi](https://forums.unrealengine.com/u/zghenzi)\
**Replies:** 1\
**Last updated:** [December 8, 2019, 11:28am UTC](https://forums.unrealengine.com/t/ai-behavior-tree-how-to-choose-action-based-on-a-boolean-variable/459229 "2019-12-08T11:28:39Z")

</div>

Hello, On my AI bot Blueprint, I’ve randomized which weapon the bot uses when the enemy is in sight, like this: It works, the bot spawns a different projectile randomly. However, both projectiles have different Rat…

---

## [Comparing TWeakObjectPointer to AActor\*](https://forums.unrealengine.com/t/comparing-tweakobjectpointer-to-aactor/459120)

<div class="topic-metadata">

**Author:** [@VD\_D](https://forums.unrealengine.com/u/VD_D)\
**Replies:** 0\
**Last updated:** [December 4, 2019, 11:54am UTC](https://forums.unrealengine.com/t/comparing-tweakobjectpointer-to-aactor/459120 "2019-12-04T11:54:50Z")

</div>

I would like to test whether or not the actor which was the initial target for a LineTraceSingleForObjects was indeed the hit actor or whether something got in the way. TArray\<AActor\*\> TargetableEnemies; TArray\<…

---

## [Behavior Tree is firing down wrong branch](https://forums.unrealengine.com/t/behavior-tree-is-firing-down-wrong-branch/458885)

<div class="topic-metadata">

**Author:** [@Bionic\_Leaf](https://forums.unrealengine.com/u/Bionic_Leaf)\
**Replies:** 6\
**Last updated:** [November 29, 2019, 4:21pm UTC](https://forums.unrealengine.com/t/behavior-tree-is-firing-down-wrong-branch/458885 "2019-11-29T16:21:04Z")

</div>

Hey everyone, I need some help here. This is stumping me and I can’t figure out why. I want my AI to enter before they continue on with their regular system, so I added this to the blueprint. If you can’t read it, it…

---

## [AI play sound when player enters FOV](https://forums.unrealengine.com/t/ai-play-sound-when-player-enters-fov/458933)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5cda3e44](https://forums.unrealengine.com/u/anonymous_user_5cda3e44)\
**Replies:** 0\
**Last updated:** [November 28, 2019, 4:46pm UTC](https://forums.unrealengine.com/t/ai-play-sound-when-player-enters-fov/458933 "2019-11-28T16:46:30Z")

</div>

So I’m trying to make my AI enemy play a sound when it spots me. I need the sound to play once each time I enter the AI’s FOV. What am I doing wrong?! How do I reset the DoOnce when I’m out of the AI’s FOV? Could someone…

---

## [How to extend Sight when in a lit area](https://forums.unrealengine.com/t/how-to-extend-sight-when-in-a-lit-area/458867)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3a101f92](https://forums.unrealengine.com/u/anonymous_user_3a101f92)\
**Replies:** 1\
**Last updated:** [November 27, 2019, 2:40pm UTC](https://forums.unrealengine.com/t/how-to-extend-sight-when-in-a-lit-area/458867 "2019-11-27T14:40:29Z")

</div>

Hello, so im trying to make it when my AI walks or gets near a light source(fire), it’ll extend his Sight so he can see out further since my game is during the night. ANY help would be great.

---

## [Ai running into a wall when fleeing from player](https://forums.unrealengine.com/t/ai-running-into-a-wall-when-fleeing-from-player/458858)

<div class="topic-metadata">

**Author:** [@LoganDolan](https://forums.unrealengine.com/u/LoganDolan)\
**Replies:** 1\
**Last updated:** [November 27, 2019, 12:19pm UTC](https://forums.unrealengine.com/t/ai-running-into-a-wall-when-fleeing-from-player/458858 "2019-11-27T12:19:59Z")

</div>

I was able to program an AI, using sight perception, to run away from the player by using the vector direction between both locations of the ai and the player character. The issue I’m running into is that when the ai run…

---

## [Herding Mechanic?](https://forums.unrealengine.com/t/herding-mechanic/456273)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_aa722587](https://forums.unrealengine.com/u/anonymous_user_aa722587)\
**Replies:** 23\
**Last updated:** [November 26, 2019, 4:09pm UTC](https://forums.unrealengine.com/t/herding-mechanic/456273 "2019-11-26T16:09:59Z")

</div>

Hello, I am working on a simple game that uses a herding mechanic. I was wondering how to program AI to herd like cattle and run away from a noise. If you guys can help me that would be great! Thanks! I am inspired b…

---

## [AI perception sight not showing](https://forums.unrealengine.com/t/ai-perception-sight-not-showing/458780)

<div class="topic-metadata">

**Author:** [@LoganDolan](https://forums.unrealengine.com/u/LoganDolan)\
**Replies:** 1\
**Last updated:** [November 25, 2019, 11:16pm UTC](https://forums.unrealengine.com/t/ai-perception-sight-not-showing/458780 "2019-11-25T23:16:15Z")

</div>

the AI Perception sight is not showing during gameplay or simulation. I want to be able to use it for debugging purposes but I can’t find a video or forum that has the latest version of UE4 (4.23.1). Its not in the Editi…

---

## [为什么官网教程自动寻路ai不动，对应蓝图和行为树也不运行](https://forums.unrealengine.com/t/ai/458772)

<div class="topic-metadata">

**Author:** [@1234445](https://forums.unrealengine.com/u/1234445)\
**Replies:** 0\
**Last updated:** [November 25, 2019, 2:20pm UTC](https://forums.unrealengine.com/t/ai/458772 "2019-11-25T14:20:44Z")

</div>

按照官网教程做的AI自动寻路，AI不动，跟个死人一样，蓝图也不运行，一下截图是点击Play之后运行程序的截图，用的是4.23

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

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