Blockland Forums > Suggestions & Requests

permanently delete fake killed bricks (solvd)

Pages: (1/4) > >>

Biqus:



jes00:


--- Code: ---registerOutputEvent("fxDTSBrick", "deleteBrick");

function fxDTSBrick::deleteBrick(%brick)
{
%brick.delete();
}

--- End code ---


Biqus:

thank you but i cannot try it until later

speeddog73:

Doesn’t setting the timer to -1 keep them destroyed? It doesn’t exactly “delete” them, but it keeps them on the floor and still pushable. I don’t see much of a point of physically deleting them, especially if you want to reset it you can just issue a “cancelEvents” event to the namedbrick. It seems easier than rebuilding them and setting up the script again.

Biqus:

i should have put an explanation but i was thinking of making a tdm where you can build structures and I want them to be destroyable

Pages: (1/4) > >>

Go to full version