Blockland Forums > Modification Help
fxDTSBrick onDestroy
Greek2me:
You would use the .killBrick() method.
If you use .delete() or .onRemove() then it will be called when bricks are cleared, map is changed, server ends, etc.
Melting Plastic:
* function fxDTSBrick::onDeath(%this)
* function fxDTSBrick::onRemove(%this)