I'm getting started with Game AI, especially Character AI.
1. Lets say I have bunches of enemies attacking the player, how they should take a decision to hide or attack or move somewhere else, etc...?
2. When they hide, how they should determine the places they will hide while making sure that the player can't see or fire on them directly?