# AI

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

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

**Page:** 65

---

## [EQS trace test problem](https://forums.unrealengine.com/t/eqs-trace-test-problem/472904)

<div class="topic-metadata">

**Author:** [@chengzengkai](https://forums.unrealengine.com/u/chengzengkai)\
**Replies:** 0\
**Last updated:** [October 14, 2020, 9:08am UTC](https://forums.unrealengine.com/t/eqs-trace-test-problem/472904 "2020-10-14T09:08:18Z")

</div>

I create a generator to get all “playerstart” locations. I want to find the location that the querier cannot be seen. so i use trace test: Test Purpose: Filter only Trace channel:Visibility Trace Complex:true Bool …

---

## [Set character movement speed](https://forums.unrealengine.com/t/set-character-movement-speed/472701)

<div class="topic-metadata">

**Author:** [@Soleniah](https://forums.unrealengine.com/u/Soleniah)\
**Replies:** 3\
**Last updated:** [October 13, 2020, 12:12pm UTC](https://forums.unrealengine.com/t/set-character-movement-speed/472701 "2020-10-13T12:12:47Z")

</div>

Hello there. I have Alpha from Mixamo pack and I 'm trying to set its max walk speed higher at some point of my game. I don’t want to set max walk speed in the character bp because speed is changing. I set max speed i…

---

## [Get Actor Property in BT Service](https://forums.unrealengine.com/t/get-actor-property-in-bt-service/471838)

<div class="topic-metadata">

**Author:** [@VesperDuck](https://forums.unrealengine.com/u/VesperDuck)\
**Replies:** 2\
**Last updated:** [October 13, 2020, 8:57am UTC](https://forums.unrealengine.com/t/get-actor-property-in-bt-service/471838 "2020-10-13T08:57:28Z")

</div>

Hey all, so first what I’m trying to accomplish, is that given a scenario where my AI is in the process of attacking a player, I want it to first check that the player it’s attacking is still alive before proceeding with…

---

## [What's the proper way to start/stop an AI character?](https://forums.unrealengine.com/t/whats-the-proper-way-to-start-stop-an-ai-character/472826)

<div class="topic-metadata">

**Author:** [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 6:28pm UTC](https://forums.unrealengine.com/t/whats-the-proper-way-to-start-stop-an-ai-character/472826 "2020-10-12T18:28:43Z")

</div>

The setup in the image below kinda works, but the “get all actors of class” is going to cause havoc once I add multiple of the same characters. Also, I tried like hell to use stop/start logic nodes but they didn’t do any…

---

## [Enemy AI can't see player when on horse](https://forums.unrealengine.com/t/enemy-ai-cant-see-player-when-on-horse/472796)

<div class="topic-metadata">

**Author:** [@razmaz51](https://forums.unrealengine.com/u/razmaz51)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 1:40am UTC](https://forums.unrealengine.com/t/enemy-ai-cant-see-player-when-on-horse/472796 "2020-10-12T01:40:42Z")

</div>

Hi , just wondering if anyone knows how to make AI see player while on horse ? Enemy AI sees the player fine when he is not on the horse , but when he is on the horse , i can ride right in front of them and they dont see…

---

## [My AI perception can't tell if it can see the player or not](https://forums.unrealengine.com/t/my-ai-perception-cant-tell-if-it-can-see-the-player-or-not/472761)

<div class="topic-metadata">

**Author:** [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Replies:** 1\
**Last updated:** [October 11, 2020, 3:05pm UTC](https://forums.unrealengine.com/t/my-ai-perception-cant-tell-if-it-can-see-the-player-or-not/472761 "2020-10-11T15:05:33Z")

</div>

My AI keeps switching between true/false in the perception area, flip flopping EVERY FRAME, causing my enemy character to rotate toward the player like the hand of a ticking clock instead of just a smooth turn to face th…

---

## [Making my AI more compact](https://forums.unrealengine.com/t/making-my-ai-more-compact/472731)

<div class="topic-metadata">

**Author:** [@ralfetas](https://forums.unrealengine.com/u/ralfetas)\
**Replies:** 6\
**Last updated:** [October 11, 2020, 2:21pm UTC](https://forums.unrealengine.com/t/making-my-ai-more-compact/472731 "2020-10-11T14:21:27Z")

</div>

Hello! I am working on my first project in Unreal, i will have around 20 npcs with their own routine, looks, house location, they go to work, eat, etc… I made a master BP with the basic information, and a child for eac…

---

## [Why no smell stimuli?](https://forums.unrealengine.com/t/why-no-smell-stimuli/472709)

<div class="topic-metadata">

**Author:** [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Replies:** 2\
**Last updated:** [October 10, 2020, 4:02pm UTC](https://forums.unrealengine.com/t/why-no-smell-stimuli/472709 "2020-10-10T16:02:08Z")

</div>

Hi, why is there no smell stimuli source in unreal AI perceptions ? thanks https://docs.unrealengine.com/Images/Engine/ArtificialIntelligence/AIPerception/StimuliSource\_Senses.webp

---

## [Behavior Tree Branch Not Aborting Self](https://forums.unrealengine.com/t/behavior-tree-branch-not-aborting-self/471963)

<div class="topic-metadata">

**Author:** [@VesperDuck](https://forums.unrealengine.com/u/VesperDuck)\
**Replies:** 4\
**Last updated:** [October 10, 2020, 1:48am UTC](https://forums.unrealengine.com/t/behavior-tree-branch-not-aborting-self/471963 "2020-10-10T01:48:50Z")

</div>

Hey, I’m having an issue with a behavior tree, where I’ve got a decorator on a branch using an ‘is set’ on a boolean key, and an abort on value changed, but when the blackboard key is changing from true to false, it’s ig…

---

## [AI Perception age and stimulus source registration](https://forums.unrealengine.com/t/ai-perception-age-and-stimulus-source-registration/336447)

<div class="topic-metadata">

**Author:** [@KaosRichie](https://forums.unrealengine.com/u/KaosRichie)\
**Replies:** 1\
**Last updated:** [October 9, 2020, 3:06pm UTC](https://forums.unrealengine.com/t/ai-perception-age-and-stimulus-source-registration/336447 "2020-10-09T15:06:18Z")

</div>

I have 2 questions. First of all, what happens when the max age of a stimulus is reached, it says the stimulus will be “forgotten” which is visible in the debugger but the stimulus still seems to be there and not “forgo…

---

## [Built-in Move To Behavior Tree task does not work on spawned Characters](https://forums.unrealengine.com/t/built-in-move-to-behavior-tree-task-does-not-work-on-spawned-characters/462027)

<div class="topic-metadata">

**Author:** [@hiimgreen](https://forums.unrealengine.com/u/hiimgreen)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 3:11pm UTC](https://forums.unrealengine.com/t/built-in-move-to-behavior-tree-task-does-not-work-on-spawned-characters/462027 "2020-10-08T15:11:37Z")

</div>

The Move To task works on the characters if they are placed in the world manually before the game starts. But the move to node does not do anything if they are spawned at run time. A lot of people have told me that the A…

---

## [Spawn AI in random location](https://forums.unrealengine.com/t/spawn-ai-in-random-location/472556)

<div class="topic-metadata">

**Author:** [@Soleniah](https://forums.unrealengine.com/u/Soleniah)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 7:40am UTC](https://forums.unrealengine.com/t/spawn-ai-in-random-location/472556 "2020-10-08T07:40:02Z")

</div>

Hello there. I 'm trying to spawn AI’s randomly in my map. The problem is that AI 's are spawning but they are not moving/attacking (nav mesh already on the scene). When i drag them on the scene from editor is working fi…

---

## [How to exclude child classes from an EQS Generator?](https://forums.unrealengine.com/t/how-to-exclude-child-classes-from-an-eqs-generator/472464)

<div class="topic-metadata">

**Author:** [@fnor](https://forums.unrealengine.com/u/fnor)\
**Replies:** 1\
**Last updated:** [October 7, 2020, 8:08pm UTC](https://forums.unrealengine.com/t/how-to-exclude-child-classes-from-an-eqs-generator/472464 "2020-10-07T20:08:44Z")

</div>

I have a set of AI enemies who use EQS to identify the closest player unit, set it as a blackboard target, and chase after the unit. This works great! However, I want to have a special kind of player unit, identical in …

---

## [Navmesh not updating on shipping build](https://forums.unrealengine.com/t/navmesh-not-updating-on-shipping-build/466418)

<div class="topic-metadata">

**Author:** [@zouking](https://forums.unrealengine.com/u/zouking)\
**Replies:** 2\
**Last updated:** [October 7, 2020, 4:43pm UTC](https://forums.unrealengine.com/t/navmesh-not-updating-on-shipping-build/466418 "2020-10-07T16:43:08Z")

</div>

Hello, I have been trying to find out why the navmesh isn’t updating on shipping builds, its working well on development builds. I am using UE4.24.2 source, world composition \[My settings\]\[UE 4.24.2\] Force Rebuild on…

---

## [Decimal precision on vectors effecting spawn?](https://forums.unrealengine.com/t/decimal-precision-on-vectors-effecting-spawn/471925)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d850e54a1](https://forums.unrealengine.com/u/anonymous_user_d850e54a1)\
**Replies:** 3\
**Last updated:** [October 5, 2020, 6:30pm UTC](https://forums.unrealengine.com/t/decimal-precision-on-vectors-effecting-spawn/471925 "2020-10-05T18:30:24Z")

</div>

I have a setup in which I kill an NPC and it respawns at a spawn point. Code works great if I move the spawn point manually to a vector, also works at 0,0,0. but if I type in a number for the vector (-7500, -7500, 0 for…

---

## [I am having a problem with pawn sensing](https://forums.unrealengine.com/t/i-am-having-a-problem-with-pawn-sensing/472447)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_931e9955](https://forums.unrealengine.com/u/anonymous_user_931e9955)\
**Replies:** 0\
**Last updated:** [October 5, 2020, 3:52pm UTC](https://forums.unrealengine.com/t/i-am-having-a-problem-with-pawn-sensing/472447 "2020-10-05T15:52:11Z")

</div>

I am using pawn sensing in detour crowd controller but when the plaver character is falling and vertically above the AI it dont work i previously posted but now i know the reason its because the Ai cant jump( i dont want…

---

## [I want my Ai to see player when they are verticaly above them](https://forums.unrealengine.com/t/i-want-my-ai-to-see-player-when-they-are-verticaly-above-them/472341)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_931e9955](https://forums.unrealengine.com/u/anonymous_user_931e9955)\
**Replies:** 2\
**Last updated:** [October 5, 2020, 1:52pm UTC](https://forums.unrealengine.com/t/i-want-my-ai-to-see-player-when-they-are-verticaly-above-them/472341 "2020-10-05T13:52:48Z")

</div>

I am using pawn sensing component to find player location but i doesnt work if the player is above them it works if the player is standing still but i implemented double jumps and wall running and if while doing this i g…

---

## [AI won't move to location despite nav link](https://forums.unrealengine.com/t/ai-wont-move-to-location-despite-nav-link/472348)

<div class="topic-metadata">

**Author:** [@Pseudocorpus](https://forums.unrealengine.com/u/Pseudocorpus)\
**Replies:** 0\
**Last updated:** [October 3, 2020, 3:17pm UTC](https://forums.unrealengine.com/t/ai-wont-move-to-location-despite-nav-link/472348 "2020-10-03T15:17:23Z")

</div>

I am trying to make an AI for a 2D Side scroller which can walk over ledges and jump to higher levels of the map. Now for some sections it works fine but to others the character won’t move despite the use of nav links. S…

---

## [How to stop AI from chasing a character](https://forums.unrealengine.com/t/how-to-stop-ai-from-chasing-a-character/467600)

<div class="topic-metadata">

**Author:** [@quekxd](https://forums.unrealengine.com/u/quekxd)\
**Replies:** 5\
**Last updated:** [October 3, 2020, 9:49am UTC](https://forums.unrealengine.com/t/how-to-stop-ai-from-chasing-a-character/467600 "2020-10-03T09:49:51Z")

</div>

Hey, I’m doing a horror game where there’s a character and a monster trying to kill that character. I’ve already done the chase and roam system, but I don’t know how to make it so that when I disappear from the monster’s…

---

## [Runtime-editable environment queries from c++ won't build](https://forums.unrealengine.com/t/runtime-editable-environment-queries-from-c-wont-build/364818)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cbaf7faf](https://forums.unrealengine.com/u/anonymous_user_cbaf7faf)\
**Replies:** 2\
**Last updated:** [September 29, 2020, 11:58pm UTC](https://forums.unrealengine.com/t/runtime-editable-environment-queries-from-c-wont-build/364818 "2020-09-29T23:58:29Z")

</div>

Hi, I am trying to create an environment query from c++ code at load time, so it can be modified at runtime and so I can use a context that just pulls values from a static array of targetable entities. I am deriving an…

---

## [AI using root motion bounces/stacks](https://forums.unrealengine.com/t/ai-using-root-motion-bounces-stacks/472149)

<div class="topic-metadata">

**Author:** [@souHad](https://forums.unrealengine.com/u/souHad)\
**Replies:** 0\
**Last updated:** [September 29, 2020, 6:55pm UTC](https://forums.unrealengine.com/t/ai-using-root-motion-bounces-stacks/472149 "2020-09-29T18:55:38Z")

</div>

Reposting because no replies- I’ve been dealing with this really frustrating bug for the last few weeks. When my AIs use root motion animations, they stack on top of one another and bounce off of the player. I’ve checke…

---

## [Having problems with overlapping Nav Modifiers](https://forums.unrealengine.com/t/having-problems-with-overlapping-nav-modifiers/395147)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d71a2fac1](https://forums.unrealengine.com/u/anonymous_user_d71a2fac1)\
**Replies:** 3\
**Last updated:** [September 29, 2020, 8:18am UTC](https://forums.unrealengine.com/t/having-problems-with-overlapping-nav-modifiers/395147 "2020-09-29T08:18:08Z")

</div>

Hello, i’m currently working on the AI for my game but have gotten a bit stuck with using the Nav modifiers. I understand how the modifiers work and how they should be used, but that is not the issue i’m having. For wh…

---

## [How to prioritize latest stimulus of same type?](https://forums.unrealengine.com/t/how-to-prioritize-latest-stimulus-of-same-type/472088)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4e0c91c5](https://forums.unrealengine.com/u/anonymous_user_4e0c91c5)\
**Replies:** 0\
**Last updated:** [September 28, 2020, 7:41pm UTC](https://forums.unrealengine.com/t/how-to-prioritize-latest-stimulus-of-same-type/472088 "2020-09-28T19:41:32Z")

</div>

If my character makes a sound, I have it set up so the AI guard will do a certain sequence (walk there, wait, go back to previous behaviour). If I make another sound while the AI is doing its “investigate sound” behavio…

---

## [Root Motion AI bouncing/stacking](https://forums.unrealengine.com/t/root-motion-ai-bouncing-stacking/472049)

<div class="topic-metadata">

**Author:** [@souHad](https://forums.unrealengine.com/u/souHad)\
**Replies:** 0\
**Last updated:** [September 27, 2020, 10:22pm UTC](https://forums.unrealengine.com/t/root-motion-ai-bouncing-stacking/472049 "2020-09-27T22:22:46Z")

</div>

I’ve been dealing with this really frustrating bug for the last few weeks. When my AIs use root motion animations, they stack on top of one another and bounce off of the player. I’ve checked collisions, I’ve checked char…

---

## [Attached Actor Wont Follow Parent Unless Clicked On Through World Outliner?!?!?!](https://forums.unrealengine.com/t/attached-actor-wont-follow-parent-unless-clicked-on-through-world-outliner/470034)

<div class="topic-metadata">

**Author:** [@zSSkitzz](https://forums.unrealengine.com/u/zSSkitzz)\
**Replies:** 3\
**Last updated:** [September 27, 2020, 4:21pm UTC](https://forums.unrealengine.com/t/attached-actor-wont-follow-parent-unless-clicked-on-through-world-outliner/470034 "2020-09-27T16:21:52Z")

</div>

I’ve been trying to attach an actor to the player to act as an equip system. I’ve ran into this weird problem which makes no sense to me. It appears when I attach the actor it just stays in one spot and doesn’t follow th…

---

## [Influencing Behavior Trees Externally](https://forums.unrealengine.com/t/influencing-behavior-trees-externally/471754)

<div class="topic-metadata">

**Author:** [@VesperDuck](https://forums.unrealengine.com/u/VesperDuck)\
**Replies:** 4\
**Last updated:** [September 24, 2020, 8:34am UTC](https://forums.unrealengine.com/t/influencing-behavior-trees-externally/471754 "2020-09-24T08:34:53Z")

</div>

Hi all, I’m working on an RTS based AI where the player has to be able to send commands to the AI, but I’ve been unable to find any way to influence a Behavior Tree externally to send an AI any commands - is there any wa…

---

## [AI Perception: How to do gradual detection?](https://forums.unrealengine.com/t/ai-perception-how-to-do-gradual-detection/471835)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4e0c91c5](https://forums.unrealengine.com/u/anonymous_user_4e0c91c5)\
**Replies:** 1\
**Last updated:** [September 24, 2020, 7:05am UTC](https://forums.unrealengine.com/t/ai-perception-how-to-do-gradual-detection/471835 "2020-09-24T07:05:57Z")

</div>

I have set up AI Perception and the enemy will see me/chase me/etc. But how can I make it so the detection will be gradual? If I’m too far in his cone, it will trigger a different behaviour and only if I’m close he will…

---

## [Simple move to not moving in new level](https://forums.unrealengine.com/t/simple-move-to-not-moving-in-new-level/471574)

<div class="topic-metadata">

**Author:** [@TheWrightWay](https://forums.unrealengine.com/u/TheWrightWay)\
**Replies:** 4\
**Last updated:** [September 22, 2020, 2:08am UTC](https://forums.unrealengine.com/t/simple-move-to-not-moving-in-new-level/471574 "2020-09-22T02:08:27Z")

</div>

Hey can anyone help me with an issue with ai using simple move to? I made my basic pawn class, ai controller, behavior tree, and black board and made a really basic ai. It worked great on my graybox testing level but whe…

---

## [How to use Ai Sense Damage Config?](https://forums.unrealengine.com/t/how-to-use-ai-sense-damage-config/438968)

<div class="topic-metadata">

**Author:** [@user\_5f9e3985ab6732a3446d52f173a942dd77b1f507939e394183dd06](https://forums.unrealengine.com/u/user_5f9e3985ab6732a3446d52f173a942dd77b1f507939e394183dd06)\
**Replies:** 1\
**Last updated:** [September 20, 2020, 12:16am UTC](https://forums.unrealengine.com/t/how-to-use-ai-sense-damage-config/438968 "2020-09-20T00:16:26Z")

</div>

I want make function that Npc detect fight some other characters each other in detect area, And Npc go to fight area. so i add Aiperception component in Npc’s blueprint and set ai sense config to Ai Damage sense config. …

---

## [AIPerception - Visibility](https://forums.unrealengine.com/t/aiperception-visibility/403049)

<div class="topic-metadata">

**Author:** [@n0rtygames](https://forums.unrealengine.com/u/n0rtygames)\
**Replies:** 2\
**Last updated:** [September 19, 2020, 7:48pm UTC](https://forums.unrealengine.com/t/aiperception-visibility/403049 "2020-09-19T19:48:20Z")

</div>

Hi all, Been having a reasonable amount of success using AIPerception and most of the high level stuff is being done in Blueprints. Currently, I’m working on changing a value on the player to indicate whether they’re in…

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

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