I found someones Melee script and added some stuff to make it more zimbie like, I need some help though. The enemy seems to just follow where I go, not very realistic so can anyone ajust this alittle to make it so the enemy will will just walk at you?
Thanks!
;Artificial Intelligence Script
;Header
desc = Chase And Shoot
;Triggers
:nearactivatable=0:settarget,activatetarget=2
:losetarget=50:freeze,runfpidefault=1
:plralive=0:freeze,runfpidefault=1
:plrdistwithin=70,plrcanbeseen=46,plringunsight,rateoffire:plraddhealth=-5,animate=7
:shotdamage=1:settarget,freeze,state=0
:state=0,plrdistfurther=70:state=1
:state=0,plrdistwithin=101:state=2,animate=1
:state=1,plrelevfurther=10,plrcanbeseen=46,plringunsight:freeze,settarget,animate=1,state=0
:state=1:followplr=1,animate=2
:state=1:state=0
:state=2:rotatetoplr,resethead
:state=2:freeze,state=0
:state=4:incframe=6
:state=4,frameatend=6:state=0
;End of Script