Enemy AI Working
Enemy AI behavior plug ins–small code blocks that guide NPC behavior and can be ‘swapped’, effectively serving as behavior chips–have been implemented and are working successfully! Here is a picture of a group of pirates beaten into submission, their former aggression replaced with fear of the PC’s melee prowess.
It took a bit of time and quite a bit of consternation, but I finally worked through problems I was having where the “hunt the PC” behavior would work, but the “run from the PC” behavior would send them smashing into walls or stuck bouncing between two points. Now the fleeing monsters will choose the best path to flee from you, but are willing to make a break for it if they are ever cornered.