Indeed it is, here you go (it's not mine I picked this up on the forums shortly after the release of fpsc)
;Artificial Intelligence Script
;Header
desc = Shoot in one direct; don't shoot at player
;Triggers
:state=0,plrcannotbeseen:state=1,settarget
:state=0:runfpidefault=1
:state=1,ifweapon=1,plrcannotbeseen,rateoffire:useweapon,rundecal=6
:state=1,ifweapon=0:state=2,setframe=6
:state=2:incframe=6
:state=2,frameatend=6:state=1,reloadweapon,sound=audiobankgunsreload.wav
;End of Script
Just don't put an entity infront of the character or they will not shoot