# AI

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

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

**Page:** 94

---

## [Heightmap specific measurements](https://forums.unrealengine.com/t/heightmap-specific-measurements/290266)

<div class="topic-metadata">

**Author:** [@Mazty](https://forums.unrealengine.com/u/Mazty)\
**Replies:** 5\
**Last updated:** [June 19, 2018, 10:34am UTC](https://forums.unrealengine.com/t/heightmap-specific-measurements/290266 "2018-06-19T10:34:28Z")

</div>

I’m looking to use UE4 to recreate real-life areas at a 1:1 scale using highly accurate height maps. Because of this, is it possible to get the details on the measurement system used for the height maps and terrain? I’ve…

---

## [AI doesn't detect sight Perception](https://forums.unrealengine.com/t/ai-doesnt-detect-sight-perception/427684)

<div class="topic-metadata">

**Author:** [@anon47586833](https://forums.unrealengine.com/u/anon47586833)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 6:16am UTC](https://forums.unrealengine.com/t/ai-doesnt-detect-sight-perception/427684 "2018-06-19T06:16:17Z")

</div>

As shown in picture I want to set target actor to my character. the service that should detect my character and set it to the target actor never detect that I have an actor in the game it return None always. on the rig…

---

## [Using EQS Generator : Pathing Grid](https://forums.unrealengine.com/t/using-eqs-generator-pathing-grid/427600)

<div class="topic-metadata">

**Author:** [@Frozenfire](https://forums.unrealengine.com/u/Frozenfire)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 5:53am UTC](https://forums.unrealengine.com/t/using-eqs-generator-pathing-grid/427600 "2018-06-18T05:53:26Z")

</div>

Hi , i’m trying to use Generator around pathing grid , it doesn’t seems to make sense for a few reason : According to the documentation in C++, it says it generator grid in a path towards context. there seems to be no…

---

## [UE4 setting pointer to NULL if tagged with BlueprintReadOnly](https://forums.unrealengine.com/t/ue4-setting-pointer-to-null-if-tagged-with-blueprintreadonly/427591)

<div class="topic-metadata">

**Author:** [@Pedro\_Palacios](https://forums.unrealengine.com/u/Pedro_Palacios)\
**Replies:** 0\
**Last updated:** [June 17, 2018, 10:40pm UTC](https://forums.unrealengine.com/t/ue4-setting-pointer-to-null-if-tagged-with-blueprintreadonly/427591 "2018-06-17T22:40:20Z")

</div>

I was implementing UAIPerceptionComponent on a Player Controller. I am starting only with a sight sense. To make iterations time faster, I have a blueprint derived from my C++ Player Controller, in which I can set variab…

---

## [How to make AI avoid a large moving area in real time?](https://forums.unrealengine.com/t/how-to-make-ai-avoid-a-large-moving-area-in-real-time/427501)

<div class="topic-metadata">

**Author:** [@Pedro\_Palacios](https://forums.unrealengine.com/u/Pedro_Palacios)\
**Replies:** 3\
**Last updated:** [June 16, 2018, 1:41pm UTC](https://forums.unrealengine.com/t/how-to-make-ai-avoid-a-large-moving-area-in-real-time/427501 "2018-06-16T13:41:25Z")

</div>

I have an enemy AI which has to follow the player. There are also some moving characters. The enemies cannot be near the characters, as they have a damage area (poison). The enemies should try to avoid the characters at…

---

## [When can I access pawn in AIController](https://forums.unrealengine.com/t/when-can-i-access-pawn-in-aicontroller/406201)

<div class="topic-metadata">

**Author:** [@Shyfty](https://forums.unrealengine.com/u/Shyfty)\
**Replies:** 1\
**Last updated:** [June 15, 2018, 6:05pm UTC](https://forums.unrealengine.com/t/when-can-i-access-pawn-in-aicontroller/406201 "2018-06-15T18:05:05Z")

</div>

I am trying to access GetPawn from an AIController once the pawn has been spawned in the level. I tried accessing it first in BeginPlay and it would return null. Next I tried accessing it in EventPossessed and it is stil…

---

## [The AI path to the player](https://forums.unrealengine.com/t/the-ai-path-to-the-player/427452)

<div class="topic-metadata">

**Author:** [@JohnnyUniverse](https://forums.unrealengine.com/u/JohnnyUniverse)\
**Replies:** 0\
**Last updated:** [June 15, 2018, 2:45pm UTC](https://forums.unrealengine.com/t/the-ai-path-to-the-player/427452 "2018-06-15T14:45:31Z")

</div>

Hello everyone) I need help. I have AI, it runs after the player, attacks and jumps. I have air platforms. And I need to AI if the player from above on the platform was able to reach him on this platform. Can anyone help…

---

## [Perception: Stimulus WasSuccessfullySensed](https://forums.unrealengine.com/t/perception-stimulus-wassuccessfullysensed/370463)

<div class="topic-metadata">

**Author:** [@brianfrankenstein](https://forums.unrealengine.com/u/brianfrankenstein)\
**Replies:** 2\
**Last updated:** [June 15, 2018, 10:13am UTC](https://forums.unrealengine.com/t/perception-stimulus-wassuccessfullysensed/370463 "2018-06-15T10:13:52Z")

</div>

I’m having trouble with getting events for stimulus, I did all the set up from the quick start but am not receiving events due to AIPerceptionComponent line 405 if (SourcedStimulus-\>Stimulus.WasSuccessfullySensed() == f…

---

## [Ai can hear noise only when not see player?](https://forums.unrealengine.com/t/ai-can-hear-noise-only-when-not-see-player/407963)

<div class="topic-metadata">

**Author:** [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Replies:** 4\
**Last updated:** [June 14, 2018, 10:19am UTC](https://forums.unrealengine.com/t/ai-can-hear-noise-only-when-not-see-player/407963 "2018-06-14T10:19:23Z")

</div>

Hell I’m working on AI and many confusions. In project is pawn sensing and noise on my side. AI see me well, this is no problem. But when creating noise, AI can hear me only when can’t see - for example, when player pa…

---

## [Why does my multiplayer AI Soldier only shoot me when i look at it?](https://forums.unrealengine.com/t/why-does-my-multiplayer-ai-soldier-only-shoot-me-when-i-look-at-it/427314)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_263e44b4](https://forums.unrealengine.com/u/anonymous_user_263e44b4)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 4:00am UTC](https://forums.unrealengine.com/t/why-does-my-multiplayer-ai-soldier-only-shoot-me-when-i-look-at-it/427314 "2018-06-14T04:00:30Z")

</div>

For some reason, in our multiplayer game mode, the AI will just not shoot until the player looks at it. Why would looking at it make it react differently? Any hint would be appreciated, like a setting we don’t understa…

---

## [AI shoot while following path](https://forums.unrealengine.com/t/ai-shoot-while-following-path/427291)

<div class="topic-metadata">

**Author:** [@live4film](https://forums.unrealengine.com/u/live4film)\
**Replies:** 5\
**Last updated:** [June 14, 2018, 3:58am UTC](https://forums.unrealengine.com/t/ai-shoot-while-following-path/427291 "2018-06-14T03:58:41Z")

</div>

I have an enemy AI aircraft that follows a spline path. I’d like the AI to be able to shoot back when I’m in it’s sight radius and at a certain distance. The AI needs to be constantly following the path, so it cannot al…

---

## [AI Perception Hearing not working as expected in 4.13](https://forums.unrealengine.com/t/ai-perception-hearing-not-working-as-expected-in-4-13/370366)

<div class="topic-metadata">

**Author:** [@Zilphy](https://forums.unrealengine.com/u/Zilphy)\
**Replies:** 2\
**Last updated:** [June 13, 2018, 10:45pm UTC](https://forums.unrealengine.com/t/ai-perception-hearing-not-working-as-expected-in-4-13/370366 "2018-06-13T22:45:39Z")

</div>

I have been working for hours to find a solution for this problem. I have a noise emitting actor in my game that when it hits the floor, the AI perception should “hear” it. That all works perfectly fine until I try to se…

---

## [How can I create Ai vision with suspicion meter](https://forums.unrealengine.com/t/how-can-i-create-ai-vision-with-suspicion-meter/427233)

<div class="topic-metadata">

**Author:** [@warriormaster](https://forums.unrealengine.com/u/warriormaster)\
**Replies:** 1\
**Last updated:** [June 13, 2018, 5:18pm UTC](https://forums.unrealengine.com/t/how-can-i-create-ai-vision-with-suspicion-meter/427233 "2018-06-13T17:18:06Z")

</div>

Hi everyone! So I’m making a stealth game where I want an ai to go to combat mode when suspicion meter is full like in assassin’s creed games but I don’t know how to do it and I couldn’t find a good answer to my problem…

---

## [AI follow while she see player](https://forums.unrealengine.com/t/ai-follow-while-she-see-player/427259)

<div class="topic-metadata">

**Author:** [@Deplayator](https://forums.unrealengine.com/u/Deplayator)\
**Replies:** 1\
**Last updated:** [June 13, 2018, 9:22am UTC](https://forums.unrealengine.com/t/ai-follow-while-she-see-player/427259 "2018-06-13T09:22:00Z")

</div>

Hello, I want to make an Ai who follow the player while she can see the player and when she lost the player she wait a X time to walk random.

---

## [如何导出ue4的导航数据](https://forums.unrealengine.com/t/ue4/362954)

<div class="topic-metadata">

**Author:** [@yelei8363](https://forums.unrealengine.com/u/yelei8363)\
**Replies:** 9\
**Last updated:** [June 12, 2018, 11:06pm UTC](https://forums.unrealengine.com/t/ue4/362954 "2018-06-12T23:06:34Z")

</div>

我们项目遇到一个问题，就是如何导出导航数据给服务器使用，我们查看了UE4的代码，无法找到一个可用的函数，能导出Recast Navigation格式的导航数据。希望有人能帮我们解决一下，谢谢。

---

## [Move to instantly rotate ai Controller](https://forums.unrealengine.com/t/move-to-instantly-rotate-ai-controller/384183)

<div class="topic-metadata">

**Author:** [@Mieticapre](https://forums.unrealengine.com/u/Mieticapre)\
**Replies:** 2\
**Last updated:** [June 12, 2018, 10:42pm UTC](https://forums.unrealengine.com/t/move-to-instantly-rotate-ai-controller/384183 "2018-06-12T22:42:48Z")

</div>

Hi Everyone, I have a little problem with the movement of my Ai. I check the “set rotation control from Pawn” in the Ai controller, uncheck “use controllers yaw rotation” in the character , check "orient rotation from m…

---

## [Random Int + Get Random Point Generates Invalid Number](https://forums.unrealengine.com/t/random-int-get-random-point-generates-invalid-number/427133)

<div class="topic-metadata">

**Author:** [@TetraStudiosDev](https://forums.unrealengine.com/u/TetraStudiosDev)\
**Replies:** 3\
**Last updated:** [June 12, 2018, 11:02am UTC](https://forums.unrealengine.com/t/random-int-get-random-point-generates-invalid-number/427133 "2018-06-12T11:02:50Z")

</div>

Hello! I was trying to make a system to check if the AI can go inside a circle. The circle is placed on a random point on a map, and the AI must get inside it (Ai are using a Move To - See Image) The end goal is for…

---

## [Aiに攻撃アニメーションをさせたい](https://forums.unrealengine.com/t/ai/427169)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_10130d8c](https://forums.unrealengine.com/u/anonymous_user_10130d8c)\
**Replies:** 2\
**Last updated:** [June 12, 2018, 9:21am UTC](https://forums.unrealengine.com/t/ai/427169 "2018-06-12T09:21:22Z")

</div>

ダークソウルのような近接戦闘のゲームを作ってるのですが、AIにどうやってプレイヤーに攻撃させるのか苦戦しています。 画像のような処理を組んだのですが、実際にプレイしてみると、敵がこちらを見つけた時に近くまで来るのはいいのですが、攻撃アニメーションが開始されると敵の攻撃アニメーションが固まってしまいます。処理を確認したら、MoveToと攻撃用のタスクが何度も呼ばれているように見えました。 攻撃用のタスクに「DoOnce」を入れてみるな…

---

## [Project point to navigation](https://forums.unrealengine.com/t/project-point-to-navigation/297187)

<div class="topic-metadata">

**Author:** [@Fluppi393](https://forums.unrealengine.com/u/Fluppi393)\
**Replies:** 4\
**Last updated:** [June 12, 2018, 8:14am UTC](https://forums.unrealengine.com/t/project-point-to-navigation/297187 "2018-06-12T08:14:00Z")

</div>

Hello! I have a point in space where I would like my AI to go to, but it is not inside the nav geometry. As the MoveTo node doesn’t support that by default, I would need some functionality, which will convert this poin…

---

## [Behavior Tree Updating and Simulating](https://forums.unrealengine.com/t/behavior-tree-updating-and-simulating/427142)

<div class="topic-metadata">

**Author:** [@User345546056](https://forums.unrealengine.com/u/User345546056)\
**Replies:** 0\
**Last updated:** [June 11, 2018, 2:56pm UTC](https://forums.unrealengine.com/t/behavior-tree-updating-and-simulating/427142 "2018-06-11T14:56:24Z")

</div>

Hi there, I’m having some problems with the Behavior Tree: I want the enemy to attack me, when he sees me and when I am not equipped, so CanSeePlayer is Is Set && PlayerEquipped is Is Not Set. Which works. When he se…

---

## [Equal (vector)のError Tolerance](https://forums.unrealengine.com/t/equal-vector-error-tolerance/427100)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_94bbd2dc](https://forums.unrealengine.com/u/anonymous_user_94bbd2dc)\
**Replies:** 2\
**Last updated:** [June 11, 2018, 4:26am UTC](https://forums.unrealengine.com/t/equal-vector-error-tolerance/427100 "2018-06-11T04:26:31Z")

</div>

Equal (vector)というノードのError Toleranceに入力する数値の単位は角度の360度の度ですか?

---

## [C++ Blackboard Variables](https://forums.unrealengine.com/t/c-blackboard-variables/407006)

<div class="topic-metadata">

**Author:** [@Rstenberg](https://forums.unrealengine.com/u/Rstenberg)\
**Replies:** 1\
**Last updated:** [June 9, 2018, 9:35pm UTC](https://forums.unrealengine.com/t/c-blackboard-variables/407006 "2018-06-09T21:35:38Z")

</div>

Hi I’ve been going through learning c++ specifically focusing on basic AI right now. I have a lot figured out and have been writing my tasks and services in c++ but I haven’t quite been able to find the correct key word…

---

## [Attach AIPercepction to a Character Socket?](https://forums.unrealengine.com/t/attach-aipercepction-to-a-character-socket/427025)

<div class="topic-metadata">

**Author:** [@4Choped](https://forums.unrealengine.com/u/4Choped)\
**Replies:** 0\
**Last updated:** [June 9, 2018, 5:29pm UTC](https://forums.unrealengine.com/t/attach-aipercepction-to-a-character-socket/427025 "2018-06-09T17:29:55Z")

</div>

Is there any way to get this done but in blueprints? YT video I need to attach the AIPerception to a socket so it rotates only depending on the socket rotation, not on the Character movement. The problem I have is that…

---

## [AIPerception rotation](https://forums.unrealengine.com/t/aiperception-rotation/426969)

<div class="topic-metadata">

**Author:** [@4Choped](https://forums.unrealengine.com/u/4Choped)\
**Replies:** 2\
**Last updated:** [June 8, 2018, 10:33pm UTC](https://forums.unrealengine.com/t/aiperception-rotation/426969 "2018-06-08T22:33:08Z")

</div>

Hi, I have a little problem with this, the thing is: -I have a Character, controlled by an AI controller -When I set Orient Rotation to Movement to False, my character does not rotate, nor the capsule component, nothin…

---

## [Blackboard or GameState?](https://forums.unrealengine.com/t/blackboard-or-gamestate/426960)

<div class="topic-metadata">

**Author:** [@CatClicli](https://forums.unrealengine.com/u/CatClicli)\
**Replies:** 9\
**Last updated:** [June 8, 2018, 5:16pm UTC](https://forums.unrealengine.com/t/blackboard-or-gamestate/426960 "2018-06-08T17:16:10Z")

</div>

I’m making a kind of Capture the Flag game. I would like to let the AI know where the players and the flags are, should I use Game State, Blackboard or EQS for this? The Blackboard was my first choice, but there is no …

---

## [How to use Gameplay Debugger for AI?](https://forums.unrealengine.com/t/how-to-use-gameplay-debugger-for-ai/386739)

<div class="topic-metadata">

**Author:** [@TankbusterGames](https://forums.unrealengine.com/u/TankbusterGames)\
**Replies:** 2\
**Last updated:** [June 8, 2018, 3:25pm UTC](https://forums.unrealengine.com/t/how-to-use-gameplay-debugger-for-ai/386739 "2018-06-08T15:25:28Z")

</div>

I want to use the GameDebugTool for my AI-Debugging. The Problem: I can’t get it to work. I have a german keyoard layout, so '-Key doesn’t work. I tried to replace the key in BaseInput.ini, but that doesn’t work as wel…

---

## [Why does the emission not show up?](https://forums.unrealengine.com/t/why-does-the-emission-not-show-up/426891)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_284bb567](https://forums.unrealengine.com/u/anonymous_user_284bb567)\
**Replies:** 1\
**Last updated:** [June 7, 2018, 8:13pm UTC](https://forums.unrealengine.com/t/why-does-the-emission-not-show-up/426891 "2018-06-07T20:13:11Z")

</div>

I was making a character using Adobe Fuse and it was translucent, so I tried to connect these 4 as said in a video (specular, emission, normal, and diffuse) but i couldn’t find the "emission\_\[your skin\]\_body\_emission! Is…

---

## [AI Suttering On Low Walk Speeds?](https://forums.unrealengine.com/t/ai-suttering-on-low-walk-speeds/426862)

<div class="topic-metadata">

**Author:** [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Replies:** 1\
**Last updated:** [June 7, 2018, 1:42pm UTC](https://forums.unrealengine.com/t/ai-suttering-on-low-walk-speeds/426862 "2018-06-07T13:42:06Z")

</div>

This happens when playing as the server so I don’t think its a replication error, it doesn’t always happen ether around 80% of the AIs MoveTo Tasks, when I print string the Speed in the Anim BP I get these below numbers,…

---

## [FindPathToLocation with offset](https://forums.unrealengine.com/t/findpathtolocation-with-offset/373790)

<div class="topic-metadata">

**Author:** [@Horokey](https://forums.unrealengine.com/u/Horokey)\
**Replies:** 4\
**Last updated:** [June 7, 2018, 12:49pm UTC](https://forums.unrealengine.com/t/findpathtolocation-with-offset/373790 "2018-06-07T12:49:32Z")

</div>

Hi, everyone! Is there a way to get route points with offset from NavMesh borders. I’m trying to do AI vehicle, so I can’t use Navigation agent in movement component, because I have to use custom MoveTo. This is how i…

---

## [Patrol function don't work inside my Behavior Tree](https://forums.unrealengine.com/t/patrol-function-dont-work-inside-my-behavior-tree/426645)

<div class="topic-metadata">

**Author:** [@Devvers](https://forums.unrealengine.com/u/Devvers)\
**Replies:** 3\
**Last updated:** [June 6, 2018, 5:21pm UTC](https://forums.unrealengine.com/t/patrol-function-dont-work-inside-my-behavior-tree/426645 "2018-06-06T17:21:19Z")

</div>

Hi guyzz! I am trying to get a AI be able to patrol and if they see the player they will stop patroling and start chasing you. Patrol work well on it’s own but I want it to work within the same behavior tree as the othe…

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

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