Blockland Forums > General Discussion
How do I make a brick permanetly fakekilled?
<< < (3/5) > >>
Pacnet2012³:
Put 0 in the box
Treynolds416:

--- Quote from: Pacnet2012³ on October 11, 2012, 08:29:37 PM ---Put 0 in the box

--- End quote ---
That would make the brick respawn...
Subpixel:
On/off  delay      events                                       parameters
[on]     0        onActivate > Self > fakeKillBrick   [999 (or whatever, something high.)]
[on]     5000  onActivate > Self > disappear     [-1]

So you get the fakekill effect then the brick is gone.
Shappeh:
If you're looking for a script...


--- Code: ---package DisappearOnDeathPackage {
     //Called when a brick is reappearing.
     function fxDTSBrick::onClearFakeDeath(%brick) {
          //Makes rendering, raycasting and collision disabled. Check all of those factors to see if a brick is stuck in this state.
          %brick.disappear(-1);

          Parent::onClearFakeDeath(%brick);
     }
};

activatePackage(DisappearOnDeathPackage);

--- End code ---
Jay the Cartoonist:

--- Quote from: Electrk on October 11, 2012, 08:29:03 PM ---That's for Disappear.

--- End quote ---
Still always works for Fake Kill for me too..

Unless he means the brick is constantly a physics brick and never disappears

By -1 working for me I mean the brick gets fake killed and stays invisible, but the brick does eventually lose physics and disappear all together.
Navigation
Message Index
Next page
Previous page

Go to full version