Hey, simple: use yuka, or you can use behavior framework from my engine. Or, look for yet-another-behavior-tree-implementation out there
Yuka dev (@Mugen87) even put together a shooter bot demo a while ago.