How do you make fnaf 2 ai

How would you make fnaf 2 ai

Instead of giving you answers I’ll show you how I’d approach it

  1. make a list of unique actions/events

As an example
1-wandering
2-searching
3-chasing
4-jumping

  1. figure how to get your AI to do each separately

  2. using state trees or behavior trees or a diff method make the AI do these in a way that makes sense

  3. bug fix

  4. repeat 4 until it feels smooth