Author Topic: How do I make a brick permanetly fakekilled?  (Read 1626 times)

/title
When I try to use -1, it wont even let me input the -. Please help. All help is appreciated.

I don't think you can. Aside from setting the number to really high.

/title
When I try to use -1, it wont even let me input the -. Please help. All help is appreciated.

Try setting the number to 1, then placing the - sign in front of it.

Fake kill the brick then make it transparent, non collidable and non-raycastable.

Fake kill the brick then make it transparent, non collidable and non-raycastable.
I'm assuming if he wanted something like that, he'd just use disappear.

He probably wants it to remain in the fakekilled state forever (being affected by physics and whatnot).

Best you have is probably setting it to a really high number.


I have tried this before. -1 does not work. You either need a mod, or have a delayed infinite disappear after the fakekill.


-1 always worked for me ;o
Yeah, I remember the little RTB Help bot said that also I think.

Yeah, I remember the little RTB Help bot said that also I think.

That's for Disappear.



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.

If you're looking for a script...

Code: [Select]
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);

That's for Disappear.
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.