I need some help with this one, I have a structure that kills itself after a certain amount of time has passed (using ammo as a countdown & NoAmmoWeapon= to trigger a secondary with suicide). When it kills itself I want it to turn into a second structure via rubble.
The issue is that it does not matter who or what kills it, itself, a friendly or an enemy, it will spawn the rubble.
Can anyone think of a workaround whereby it either only spawns the rubble when it kills itself OR if something else kills it (friendly or enemy) it also destroys the building it spawns? QUICK_EDIT
Have you tried putting DeathWeapon.Suppress=<building> on the weapon that it uses to kill itself and giving it a deathweapon that destroys the rubble? or if need be, delayed with an animation? _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
I guess you are using my way but it's Suicide=yes kills the firer no matter what. So if you want to use DeathWeapon.Suppress, you need to change my weapon code, omit Suicide=yes, make it detonate on self, and add DamageSelf=yes on the building. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum