# Are there ANY resources to learn how to program AI in UE4?

**URL:** <https://forums.unrealengine.com/t/are-there-any-resources-to-learn-how-to-program-ai-in-ue4/158708>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine\
**Created:** [March 4, 2021, 12:29am UTC](https://forums.unrealengine.com/t/are-there-any-resources-to-learn-how-to-program-ai-in-ue4/158708 "2021-03-04T00:29:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cruxsacrasitmihi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cruxsacrasitmihi](https://forums.unrealengine.com/u/cruxsacrasitmihi)\
**Post date:** [March 4, 2021, 12:29am UTC](https://forums.unrealengine.com/t/are-there-any-resources-to-learn-how-to-program-ai-in-ue4/158708/1 "2021-03-04T00:29:04Z")

</div>

I’m looking for tutorials or courses on how to program enemy AI for combat (melee or ranged). I can’t find a single good course anywhere, and there don’t seem to be any official resources for it either. Is there any tutorial out there at all, free or paid, that teaches you how to program enemy AI and is actually good?

---

<div class="post-metadata">

**Author:** ![chrudimer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrudimer/32/918651_2.png) [@chrudimer](https://forums.unrealengine.com/u/chrudimer)\
**Post date:** [March 5, 2021, 12:05pm UTC](https://forums.unrealengine.com/t/are-there-any-resources-to-learn-how-to-program-ai-in-ue4/158708/2 "2021-03-05T12:05:43Z")

</div>

Hi,

> [@](#):
>
> and there don’t seem to be any official resources for it either

there are some. This here gives you some basic overview over the system [Introduction to AI with Blueprints | Course](https://www.unrealengine.com/en-US/onlinelearning-courses/introduction-to-ai-with-blueprints)

Behavior tree quickstart guide for some basic AI [Behavior Tree in Unreal Engine - Quick Start Guide | Unreal Engine 5.3 Documentation](https://docs.unrealengine.com/en-US/InteractiveExperiences/ArtificialIntelligence/BehaviorTrees/BehaviorTreeQuickStart/index.html)

EQS quickstart guide [Environment Query System Quick Start in Unreal Engine | Unreal Engine 5.3 Documentation](https://docs.unrealengine.com/en-US/InteractiveExperiences/ArtificialIntelligence/EQS/EQSQuickStart/index.html)

And some faster/more in depth overview [https://www.youtube.com/watch?v=iY1jnFvHgbE](https://www.youtube.com/watch?v=iY1jnFvHgbE)

And you can look through this here from about minute 20 to get some feeling for the limitations of the behavior tree system [https://www.youtube.com/watch?v=Qq\_xX1JCreI](https://www.youtube.com/watch?v=Qq_xX1JCreI)  
[HR][/HR]  
Basically you first off need some fairly good knowledge of blueprints. If you don’t have that, then you should learn blueprints first. Then learn to use behavior trees.

Also imo with blueprint only (so no C++) you can only make basic AI, since there is quite a lot AI functionality that is not exposed to blueprints (e. g. team system, what sense triggered the perception update -\> will result in confusion/workarounds if you use more than one sense, team sense, sight perception stimuli strength), but ofc for a basic AI you won’t need all that.

---

<div class="post-metadata">

**Author:** ![cruxsacrasitmihi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cruxsacrasitmihi](https://forums.unrealengine.com/u/cruxsacrasitmihi)\
**Post date:** [September 18, 2021, 4:46pm UTC](https://forums.unrealengine.com/t/are-there-any-resources-to-learn-how-to-program-ai-in-ue4/158708/3 "2021-09-18T16:46:19Z")

</div>

Hi,

Thanks a lot for the resources! Sorry I wasn’t able to get back earlier.
