Hmmm......
I'll edit shoot.fpi to incorporate this, ok....
;CoffeeGrunt Scripts
;Header desc=Look and Shoot
;Triggers
:state=0,plrcanbeseen:state=1,settarget
:losetarget=10:runfpidefault=1
:state=0:runfpidefault=1
:state=1:rotatetoplr
:state=1,ifweapon=1,plrcanbeseen=46,plringunsight,rateoffire:useweapon,rundecal=6
:state=1,ifweapon=0:state=2,setframe=6
:state=2:incframe=6
:state=2,frameatend=6:state=1,reloadweapon,sound=audiobankgunsreload.wav
:state=1,healthless=50:alttexture,state=3
:state=3,plrcanbeseen:runfpi=coward.fpi
;End Script
When his health is less than 50, he'll change his texture and run coward.fpi......
A word of warning though, I've heard that alttexture may not work well with characters......
Here's the version for objects:
;CoffeeGrunt Scripts
;Header desc=default behaviour, health less than 15, alt texture
;triggers
:state=0:state=1
:state=1,healthless=15:alttexture
;End Script