Hello, I’m pretty new to python scripting looking to set up some hopefully basic AI commands for BGE.
First I’m hoping to set up my AI character to follow a path and switch from idle to his walking animation and loop those actions.
Then I would like to set it up where the AI character Panics and runs away from the main character as you approach… then goes back to his loop when distance is returned.
Alot more to come but these are the first steps I want to take…
So far following someone else’s script I tried setting my creatures options to, but it’s not giving me any results…
Not sure if it’s an older version of blender or if there’s missing code or if I just need to adjust values…
Here’s a photo of the code and the scene I’m trying to set up:
Any help is appreciated Thank You.
Current Resource:
http://forum.nystic.com/viewtopic.php?f=34&t=6898&hilit=Game+engine+ai
It is a pretty old post… and now see from the last post that might be the problem.