Games IA ChatGPT 136 visualizacoes

Enemy FSM AI: Idle, Patrol, Alert, and Combat

roblox luau lua ai npc pathfinding state-machine enemies
ESCOPO

Generate a robust enemy AI for Roblox using a finite state machine (FSM) with the idle, patrol, alert, and combat states. The result is designed for NPCs with Humanoid, waypoint-based movement, player detection by distance, field of view, and line-of-sight raycasting.

The prompt instructs the AI to adapt the code to the real context of your project, including names of models, parts, folders, attributes, RemoteEvents, and existing damage systems. It requires a secure server-side implementation, with PathfindingService, invalid target handling, prevention of excessive route recalculation, and practical testing instructions in Roblox Studio.

Ideal for developers who want a professional, expandable foundation for guard enemies, monsters, soldiers, or bosses, without delegating critical combat or damage decisions to the client.

Conteudo
Prompt principal
Act as a senior Roblox Luau developer, specialized in server-authoritative NPC AI, finite state machines (FSM), PathfindingService, and secure architecture for multiplayer games. Generate a complete, ready-to-use implementation of an enemy AI with the `Idle`, `Patrulha`, `Alerta`, and `Combate` states, rigorously adapting the result to the context of my game provided below.
Login

Sign in to access this free prompt

Conteudo completo

Cabecalho, escopo, prompt principal, modulos, agentes

Visao completa do projeto

Enemy FSM AI: Idle, Patrol, Alert, and Combat

# www.prompthubai.com.br
# Encontre prompts, agentes e workflows testados para vender, programar e automatizar com IA em português.

# Enemy FSM AI: Idle, Patrol, Alert, and Combat

## Cabecalho
- Tipo: Conteudo
- Categoria: Games
- Modulos: 0
- Agentes: 0

## Escopo
Generate a robust enemy AI for Roblox using a finite state machine (FSM) with the idle, patrol, alert, and combat states. The result is designed for NPCs with Humanoid, waypoint-based movement, player detection by distance, field of view, and line-of-sight raycasting.

The prompt instructs the AI to adapt the code to the real context of your project, including names of models, parts, folders, attributes, RemoteEvents, and existing damage systems. It requires a secure server-side implementation, with PathfindingService, invalid target handling, prevention of excessive route recalculation, and practical testing instructions in Roblox Studio.

Ideal for developers who want a professional, expandable foundation for guard enemies, monsters, soldiers, or bosses, without delegating critical combat or damage decisions to the client.

## Prompt Principal
Act as a senior Roblox Luau developer, specialized in server-authoritative NPC AI, finite state machines (FSM), PathfindingService, and secure architecture for multiplayer games. Generate a complete, ready-to-use implementation of an enemy AI with the `Idle`, `Patrulha`, `Alerta`, and `Combate` states, rigorously adapting the result to the context of my game provided below.

[Conteudo completo bloqueado ate compra/login]
Alguns trechos aparecem como previa ate o acesso completo.

Todos os modulos

0 modulos deste projeto

Todos os agentes

0 agentes deste projeto

Prompts Relacionados

🎮
Games ChatGPT
Operational prompt Ideal for Teams putting AI to work

Criador Completo de Jogo Roblox com IA

Faster delivery with real context

Projeto integral de um jogo original no Roblox Studio, da ideia ao lançamento.

Saves: less trial and error Includes: prompt + context Ready to adapt
🎮
Games ChatGPT
Operational prompt Ideal for Teams putting AI to work

Criador de Interface/HUD Roblox

Faster delivery with real context

Projeto e implementação de UI responsiva, acessível e coerente.

Saves: less trial and error Includes: prompt + context Ready to adapt