| Passive | Wanders, flees from danger | Villagers, animals | | Neutral | Ignores unless provoked | Guards, merchants | | Hostile | Actively attacks players | Monsters, enemies | | Companion | Follows and assists player | Pets, allies |
| Selector | Try children until one succeeds | | Sequence | Run all children in order | | Condition | Check if something is true | | Action | Do something |
| avoidWater | Don't path through water | | avoidDanger | Avoid hostile areas | | maxDistance | Limit path length | | canOpenDoors | Allow door navigation |
Creating NPCs with AI behavior in Hytale. Covers NPC types, behavior trees, dialogue systems, state machines, pathfinding, and combat AI. Use when creating villagers, merchants, enemies, or any interactive characters. Source: z3nlotus/hytale-agent-skills.