View Single Post
Old 12-22-2003, 02:24 PM   #8 (permalink)
CodeCat
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,279
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Rather than trying to create the effect together with the unit dying by adding another object, why not allow the death itself to trigger the detonation? Just add the NeutronBlastBehavior module to the unit itself, and then whenever the unit is destroyed, it will detonate (at least it should). If you only want it to detonate when you push the button or when it fires a weapon (not when anything else blows it up), you'll need something slightly more complicated, but post again if that's what you need.
CodeCat is offline   Reply With Quote