If someone could tell me what animation is the dying one, I think I can finish my code that will allow the player to instantly kill any enemy he attacks from behind.
EDIT: I'm attaching the script I've been using. It will let you kill an enemy from behind with one hit but the only problem is he just vanishes and his gun stays where he was holding it. If someone could correct it so he dies then fades I would be very grateful, and so would most ppl here I think lol
;Artificial Intelligence Script
;Header
desc = Static, When See Player, Get In Range
;Triggers
:plrcannotbeseen,shotdamage=10:animate=11,destroy,runfpi=fadecorpse.fpi
:state=0:state=1
:state=1,plrcanbeseen:settarget,state=2
:state=1,shotdamage=10:rotatetoplr
:state=1,noiseheard=5:rotateheadrandom=85
:state=1,random=10:rotateheadrandom=75
:state=2:rotatetotarget,resethead,animate=5,state=3
:state=3:runfore=20
:state=3,losetarget=10:state=4,animate=1
:state=3,plrdistwithin=400:state=4,animate=1
:state=4:rotatetoplr
:state=4,plrcanbeseen:settarget,state=0,shootplr
:state=4:state=0
;End of Script
Your signature has been erased by a mod