enemies-and-ai

Create NPCs with AI state machines and combat systems in the Bestow game engine.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/radical-beard/bestow --skill enemies-and-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: enemies-and-ai
Source: https://github.com/radical-beard/bestow/tree/main/template/.claude/skills/enemies-and-ai
Command: npx skills add https://github.com/radical-beard/bestow --skill enemies-and-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a robust framework for creating dynamic and intelligent enemy characters within the Bestow game engine, complete with AI behaviors, pathfinding, and combat mechanics.

Core Features & Use Cases

  • Enemy Entity Creation: Define and instantiate various enemy types with customizable stats and components.
  • AI State Machines: Implement complex behaviors like idle, patrol, chase, and attack using a state-driven approach.
  • Pathfinding & Movement: Enable enemies to navigate the game world and pursue targets.
  • Combat System Integration: Handle damage, health, and death for both enemies and the player.
  • Boss AI: Create challenging boss encounters with distinct phases and attack patterns.
  • Enemy Spawning: Dynamically spawn enemies based on proximity and game state.

Quick Start

Use the enemies-and-ai skill to create a basic enemy entity with a simple AI state machine.

Frequently Asked Questions about enemies-and-ai

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement enemy AI state machines for idle, patrol, and chase behaviors?

Enemy AI state machines are implemented using a state-driven approach that defines specific behaviors for idle, patrol, chase, and attack. This allows non-player characters to dynamically transition between actions based on game state and target proximity.

Can I create boss encounters with phased attack patterns and mechanics?

Yes, boss encounters support distinct phases and attack patterns to create challenging combat mechanics. Boss AI integrates with the combat system to handle complex entity behaviors and dynamic encounter progression.

How does enemy pathfinding and movement work for pursuing targets?

Enemy pathfinding and movement enable non-player characters to navigate the game world and pursue targets dynamically. This system integrates with the entity-component framework to calculate routes and update enemy positions.

What is the best way to handle enemy spawning based on game state and proximity?

Dynamic enemy spawning is handled by instantiating enemy entities based on player proximity and current game state. This allows the system to manage non-player characters efficiently without overwhelming the game world.

Does this combat system handle entity health, damage, and death for both enemies and players?

Yes, the combat system handles damage calculation, health management, and entity death for both non-player characters and the player. It integrates directly with the entity-component system to process combat logic and update health states.

Do I need the Bestow game engine entity-component system to use this enemy AI framework?

Yes, this framework integrates with the Bestow game engine's entity-component system to manage dynamic AI and combat logic. Enemy entity creation relies on this architecture to define customizable stats and instantiate various enemy types.