All my posts were erased when my account was spoofed.
Anyway, here is the code I use for my MadBomber.
;Artificial Intelligence Script
;Header
desc =suicide bomber
;Triggers
:state=0:state=1
:state=1,plrcannotbeseen:animate=1
:state=1,plrcanbeseen:rotatetoplr,movefore=2,animate=5
:state=1,plrwithinzone=1:sound=audiobank\user\explode.wav,rundecal=5,plraddhealth=-500,state=2
:state=2:runfpidefault=2
;End of Script
You'll note that I used a path to a USER folder in the AUDIOBANK to call an EXPLODE.WAV
Replace that Path to point to whatever sound you want to use.
Post Script:
You'll also want to increase the SPEED of the entity.
I like mine at about 400.
~
~
BOOM
Whatever you can imagine, you can animate. --- Walt Disney
All too easy. --- Darth Vader
Just do it! --- Nike