I am trying to get a image to show up when a character dies, but when I test it the image does not show up however the character dies just fine.
here is the script:
;Artificial Intelligence Script
;Header
desc = Fade Out Disappear
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\bloodsplat.tga,hudname=bloodsplat,hudhide=1,hudmake=display,state=2
:state=2:setframe=97,state=11
:state=2,plrdistwithin=60:hudshow=bloodsplat,hudfadeout=bloodsplat
:state=11:incframe=97
:state=11,frameatend=97:state=1
:state=1,alphafadeequal=100:decalphafade=0
:state=1,alphafadeequal=0:state=2,destroy
;End of Script
The script is based on Bond1's zombie 2 enemy
come see night shift at http://forum.thegamecreators.com/?m=forum_view&t=106003&b=25 see you there