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.
|