# Gabriel Goldani - StateTree Enemy AI Kit 

**URL:** <https://forums.unrealengine.com/t/gabriel-goldani-statetree-enemy-ai-kit/2873226>\
**Category:** Product Discussion\
**Tags:** fab\
**Created:** [November 25, 2026, 11:17pm UTC](https://forums.unrealengine.com/t/gabriel-goldani-statetree-enemy-ai-kit/2873226 "2026-11-25T23:17:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GabrielluterG](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gabrielluterg/32/724421_2.png) [@GabrielluterG](https://forums.unrealengine.com/u/GabrielluterG)\
**Post date:** [November 25, 2026, 11:17pm UTC](https://forums.unrealengine.com/t/gabriel-goldani-statetree-enemy-ai-kit/2873226/1 "2026-11-25T23:17:47Z")

</div>

**Enemies ready in 5 minutes — no Behavior Trees.**

The StateTree Enemy AI Kit gives you complete, modern enemy AI built 100% on Unreal's **StateTree**. Drop an archetype in your level and it patrols, spots the player, alerts its squad, attacks in turns, searches for lost targets, takes cover or runs away. Every behavior is a modular StateTree task or condition, so you can recombine them into your own enemies right in the StateTree editor.

[**Documentation**](https://docs.google.com/document/d/e/2PACX-1vRVGHLR_31TIM14hVvlS8rAONeNK1XPVJBJvqlPpHDhSZq086nB6e49nlCI1MVhfH444VOExqXYOQLA/pub)

Four archetypes included

- **Grunt** — patrols a route, chases, surrounds the player and attacks in turns using attack tokens.

- **Shooter** — keeps its distance, fires in bursts and runs to cover when hit.

- **Guard** — holds its post, investigates noises and calls reinforcements.

- **Skirmisher** — hits and runs, and flees to hide when badly hurt.

Modular StateTree nodes

- **15 tasks:** Patrol (route or wander), Chase, Investigate, Search Area, Keep Distance, Strafe, Find Cover (built-in or EQS), Flee, Melee Attack (montage + hit window), Ranged Attack (hitscan or projectile bursts), Request/Release Attack Token, Alert Allies, Face Target, Play Montage, Wait Random.

- **8 conditions:** Has Target, Target In Range, Line Of Sight, Health Below, Has Attack Token, Time Since Target Seen, Allies Nearby, Is In Cover — plus a Target Info evaluator for bindings.

AAA-style group combat

- **Attack tokens** limit how many enemies attack the same target and make them take turns.

- **Squad alerts:** an enemy that spots you warns its allies.

- **Target memory:** threat + distance scoring (overridable), last known location, forgetting.

Plugs into your game

- Works with **any damage system** through one interface (GAS friendly) or the included replicated Health component.

- Teams, perception (sight, hearing, damage) and StateTree events pre-configured in one AI Controller.

- **Multiplayer ready:** server-side AI, replicated health, montages and effects.

Debug and learn

- Gameplay Debugger category, floating state text, verbose logging and automation tests.

- Playable demo map (one arena per archetype, third-person player) and an AI-vs-AI showcase map.

- Full documentation included: quick start, node reference, "build your own enemy" and GAS integration guides.

Technical details

- **Code modules:** StateTreeEnemyAI (Runtime), StateTreeEnemyAIEditor (Editor), StateTreeEnemyAITests (Editor, automation tests).

- **Blueprints:** 15 (4 archetype characters, 4 archetype controllers, 4 demo enemies, 3 showcase) + 4 StateTree assets.

- **C++:** 13 classes + 2 interfaces + 25 StateTree node structs.

- **Network replicated:** yes (AI on the server; health, montages and effects replicated).

- **Platforms:** developed and tested on Windows; the code is platform independent.

- **Requirements:** Unreal Engine 5.8 and the engine plugins StateTree, GameplayStateTree, PropertyBindingUtils and Enhanced Input (enabled automatically as dependencies of the plugin). Enemies need a NavMesh.

- The demo uses simple stylized drone meshes; archetypes are Characters ready for your own meshes and animations.

[**Documentation**](https://docs.google.com/document/d/e/2PACX-1vRVGHLR_31TIM14hVvlS8rAONeNK1XPVJBJvqlPpHDhSZq086nB6e49nlCI1MVhfH444VOExqXYOQLA/pub) — also included in the plugin (Docs folder).

> **[StateTree Enemy AI Kit](https://www.fab.com/listings/c6e497b5-0736-4ac4-b37d-74b3a99a5404)**
>
> Enemies ready in 5 minutes — no Behavior Trees.The StateTree Enemy AI Kit gives you complete, modern enemy AI built 100% on Unreal's StateTree. Drop an archetype in your level and it patrols, spots the player, alerts its squad, attacks in turns,...
