yeah, it'll work on anything.
Here's the script for characters, (aren't I nice) you could probably adjust the concept to dynamic entities, by using just a shotdamage command with a random modifier.
:state=0,plrcanbeseen:state=1,settarget
:state=1,plrcanbeseen:settarget
:state=1,ifweapon=1,plrdistfurther=200:rotatetoplr,followplr=1,animate=5
:state=1,plrdistwithin=201:rotatetoplr,freeze
:state=1,ifweapon=1,plrdistwithin=201,plrcanbeseen=46,rateoffire:animate=1,rotatetoplr,freeze,useweapon,rundecal=6
:state=1,ifweapon=1,plrcanbeseen=46,rateoffire:rotatetoplr,useweapon,rundecal=6
:state=1,ifweapon=0:animate=1,freeze,state=2,setframe=6
:state=1,plrdistwithin=150,random=20:state=5
:state=1,plrdistwithin=50:rotatetoplr,state=10
:state=1,shotdamage=5:state=5
:state=2:incframe=6
:state=2,frameatend=6:state=1,reloadweapon,sound=audiobank\guns\reload.wav
:state=1,plrcannotbeseen:state=5
:state=5,random=1:state=6,setframe=4
:state=5:state=7,setframe=3
:state=6:incframe=4,strafe=100,rotatetoplr
:state=6,random=7:rundecal=6,useweapon
:state=6,frameatend=4:state=1,animate=1
:state=7:incframe=3,strafe=-100,rotatetoplr
:state=7,random=7:rundecal=6,useweapon
:state=7,frameatend=3:state=1,animate=1
:state=10:state=11,setframe=5
:state=11:incframe=5,strafe=100,rotatetoplr
:state=11,frameatend=5:state=1,animate=1
:state=0:setalphafade=100
:state=1:setalphafade=100
:state=2:setalphafade=100
:state=5:decalphafade=100
:state=6:setalphafade=0
:state=7:setalphafade=0
:state=10:setalphafade=0
:state=11:setalphafade=0
:state=11,random=7:decalphafade=100
it's basically the chase script out of Sensei, but modified to cloak. It works best if you set the enemy speed to 200 in the properties. If you know how, I'd get rid of the blood decal on the enemy too, as when it's there its easy to track which way he moves when shot.
Tell me what you think.
Licence:
This script may not be used in any commercial product. modified or not! what ever. have fun with it.