Blockland Forums > Modification Help
Questions about fxDTSbrick
Swollow:
--- Quote from: jes00 on February 25, 2012, 05:11:18 PM ---%brick.delete(); should work too.
--- End quote ---
I recall that errors can occur when fake kill bricks attempt to respawn even though the brick is gone resulting in a crash so you want to be careful to not let the explosion fake kill the brick
Nexus:
--- Quote from: jes00 on February 25, 2012, 05:11:18 PM ---%brick.delete(); should work too.
--- End quote ---
I would avoid %brick.delete() because that may cause some severe issues because you have removed the object, and if %brick is used at all later in the script or in another package, you will get console spam saying that blah blah object doesnt exist and cannot find specific class functions because you deleted the object that defined the class. use killbrick()
Greek2me:
Using %brick.delete() is perfectly fine and does the same thing as %brick.killBrick(), just without the killed brick effect.