lock this if it isn't okay with Xplosy.
well, i downloaded Xplosy's ally script and just added a few commands and things and i got it to work where the ally doesn't just shoot and do no damage, but it actually killed the enemy. i don't know how this worked but it did. i'ts a little glitchy though.
heres the script (Once again, if it's not okay with Xplosy then lock or delete this)
;Artificial Intelligence Script
; by xplosys
;Header
desc = Simple Folow and Shoot
;A simple script to give the appearance of allies
;AI using this script can not hurt each other or the player.
;Change the plrdistwithin= distance to suite.
;Add animations for more realism (squat, strafe, etc)
;Triggers
; *** YOU MUST GET WITHIN RANGE TO PICK UP YOUR AI
:state=0,plrdistwithin=200:state=1,rotatetoplr
; *** AI FOLLOWS YOU
:state=1,plrdistfurther=200:animate=5,followplr
:state=1,plrdistwithin=150:freeze,rotatetoplr,lookatplr,animate=51
; *** Press Z TO ENGAGE AI
:state=1:settargetname=enemy
:state=1,scancodekeypressed=44:state=3,rotatetotarget,lookattarget,animate=5
; *** AI REPOSITION TO ENGAGE ENEMY
:state=3:rotatetoplr,rotatey=30,animate=5,runfore=200,rotatey=-30,state=4
; *** RANDOMIZE ANIMATIONS
:state=4,random=1:state=10,setframe=3
:state=4,random=1:state=11,setframe=4
;*** AI RETURNS FIRE
:state=5,ifweapon=1,plrdistwithin=300:useweapon,rundecal=6
:state=5,ifweapon=0:state=6,setframe=6
:state=5,plrdistfurther=200:state=1
; *** AI RELOAD IF EMPTY
:state=6:incframe=6
:state=6,frameatend=6:state=4,reloadweapon,sound=audiobank\guns\reload.wav
; *** PLAY ANIMATION
:state=10:incframe=3
:state=10,frameatend=3:state=5
:state=11:incframe=4
:state=11,frameatend=4:state=5
;End of Script