Difficult AI Project, Need help!

Okay, I’m making an environment in flash to test an artificial intelligence (created to kill, bwahaha *cough). I realized I have some skill gaps here, as I am not used to accounting for computers in a manner as complex as this.
As a result a few problems have arised.

I have this so far : A pathfinding AI system for the computer character
Appropriate Hittests (for walls, bullets, etc)
Destructable targets that the AI will search for and attack

I am having problems with : The Line of sight of the AI character
Since the character pivots 360 degrees, I cannot find a way for it to identify and shoot at targets it accuires (it fires in 360 degrees, but i cant figure this out).

What I want for this: A way so that the AI player has a conical line of sight infront of it, and that when it sees a target object it will point and shoot at it (Think Metal Gear, Folks, with a few alterations). A way for it to pivot and shoot (it fires from the front).

*All comments appreciated.

*I’m coming close to solving the LOS problem after a brief search, but the shooting problem remains