Can someone mod this code so that when the enemy is shot while following waypoints, he cowers just like in the Cower.fpi script.
; Scripted by Mad Scientist
;Artificial Intelligence Script
;Header
desc = Guard Waypoints
;Triggers
::settarget
:state=0:state=1
:noiseheard=400:lookatplr
:waypointstate=0,state=1:animate=2,waypointstart
:waypointstate=2,random=20:rotateheadrandom=45
:waypointstate=3,state=1:animate=1,timerstart,resethead,state=2
:waypointstate=3,state=2,random=20:rotateheadrandom=60
:waypointstate=3,state=2,timergreater=4000:animate=2,waypointnext,state=1
:waypointstate=4,state=1:animate=1,timerstart,resethead,state=3
:waypointstate=4,state=3,random=20:rotateheadrandom=60
:waypointstate=4,state=3,timergreater=4000:animate=2,waypointreverse,state=1
:waypointstate=5,state=1:animate=1,timerstart,resethead,state=4
:waypointstate=5,state=4,random=20:rotateheadrandom=60
:waypointstate=5,state=4,timergreater=4000:animate=2,waypointreverse,state=1
;End of Script
And another mod for this scrip so when he is shot, he finds a gun and shoots the player back.
So one were the enemy is following my script, then shot and hides.
And another were the enemy is following my scrip, he is shot and finds weapon and shoots back.
Please be quick thanks! Its for an essay in college.
OH AND PLEASE, test the script first.
Thnak you so much.