This is a script I was playing with to make enemies die as soon as they saw me. You can configure it to work with a timer, a zone, player proximity, whatever you want.
;Artificial Intelligence Script
;Header
desc = Enemy Die (player in sight)
;Triggers
:state=0,plrcanbeseen:animate=16,state=1
:state=1:runfpidefault=2
;End of Script
If you want the enemy to die right away when the game starts, just remove plrcanbeseen from line 1.
;Artificial Intelligence Script
;Header
desc = Enemy Die (player in sight)
;Triggers
:state=0:animate=16,state=1
:state=1:runfpidefault=2
;End of Script
Make sure your destroy script is "leavecorpse.fpi" if you want the body to remain.
Animation "16" is fall forward. Change it to whatever you want.
Best.
I'm sorry, my answers are limited. You must ask the right question.