AI - gamehunt/CustomNPCs GitHub Wiki
I've introduced primitive AI system for NPCs.
To enabled it u need to set ai_enabled
to true
in NPC's save file.
AI system consists of AI Targets
, they must be written in ai
array (right under the ai_enabled
option). All targets will be called in infinite loop while NPC is alive and AI is enabled.
Target's syntax is similar to Actions and Conditions syntax
All AI Targets can be found here