you can camcreate just about any bullet or shell, then use setvelocity to make them go where you want them to (saves you from having to place actual AI)
Place an object like a bush where you want the fire to come from and activate the script with a trigger set to play ambient combat noise and this in on activation: [put bullet name here] exec spray.sqs
_ammotype=this select 0
_i=100
#bulletloop
_b1="_ammotype" camcreate setpos getpos bush
_b1 setvelocity [random(50)-25,0,random(2)+2]
~.2
_b2="_ammotype" camcreate setpos getpos bush
_b2 setvelocity [random(50)-25,0,random(2)+2]
~.2
_b3="_ammotype" camcreate setpos getpos bush
_b3 setvelocity [random(50)-25,0,random(2)+2]
~.2
?_i>=0:goto "bulletloop"
exit
give that a whirl. Syntax not garanteed and not sure if it will do what you want, but I'm at work and had to do this in my head. You will have to tweak the setvelocity parameters to get the exact dispersion and direction, but I'm working on a fix that will do it in the direction of a set object
-Grendel