PDA

View Full Version : NPC death music


Blaster
10-14-2002, 04:40 PM
How do you make an NPC play a music file once (not looping) when they die?

Do I do it in a script and will it make it play it only once?

Bell
10-16-2002, 11:07 AM
you can give them a death script ya
key:deathscript
value:scriptname

and in the script use a trigger thats pointed to a target speaker

Leslie Judge
10-16-2002, 04:22 PM
I think if you target the NPC's spawnpoint to a target_speaker will work fine. I'm not sure. I read somewhere that NPC spawnpoint fires it's target upon death.