Blockland Forums > Modification Help

fxDTSBrick onDestroy

Pages: << < (2/2)

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)

Pages: << < (2/2)

Go to full version