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.
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 — also included in the plugin (Docs folder).