Basically, you will want to tell the game what actions to perform in response to each situation. When all of your various actions add up, they'll create the usual game ai. If you have examples of specifics that you would want your ai to react, we can probably help work through it. Any capx to show what you want to acheive?