Creature AI
Scripted behaviors for creatures including triggers, conditions, and actions.
Creature Behaviors
Loading...
Trigger Types
- player_enter - Player enters area
- combat_start - Combat begins
- health_percent - HP threshold
- death - Creature dies
- random - Random chance
- spawn - Creature spawns
Action Types
- say - Speak text
- emote - Perform emote
- attack - Attack target
- heal - Heal self/ally
- flee - Flee combat
- buff/debuff - Apply effects
- summon - Spawn allies
Help
Creature AI defines scripted behaviors for creatures. Each creature type can have multiple programs that execute when specific triggers fire.
Variables: Use $player, $creature, $health in text and conditions.
Conditions: Optional expressions like $health lt 50 that must be true for actions to execute.