Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
fxDTSBrick onDestroy
« previous
next »
Print
Pages: [
1
]
Author
Topic: fxDTSBrick onDestroy (Read 959 times)
LundoomGaming
March 02, 2012, 09:14:31 PM
Does anyone know the function that is triggered when a brick is destroyed by a hammer, undo, etc., and the perimeters for that function?
Thanks
Ad Bot
Advertisement
otto-san
March 02, 2012, 09:14:59 PM
fxDTSBrick::killBrick(%brick)
, isn't it?
LundoomGaming
March 02, 2012, 09:38:59 PM
I'll try it. Thanks
LundoomGaming
March 02, 2012, 10:21:21 PM
Quote from: otto-san on March 02, 2012, 09:14:59 PM
fxDTSBrick::killBrick(%brick)
, isn't it?
This worked, but I found out that fxDTSBrick::delete(%brick) works as well
Destiny/Zack0Wack0
March 02, 2012, 10:22:42 PM
..onDestroy?
Greek2me
March 02, 2012, 10:34:36 PM
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
March 02, 2012, 11:47:31 PM
function fxDTSBrick::onDeath(%this)
function fxDTSBrick::onRemove(%this)
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
fxDTSBrick onDestroy