Author Topic: New type of brick damage.  (Read 853 times)

I guess this is a continuation of my last request. Anyways here it is.

I want a new type of brick damage where it works like this:

Delay: 3000, OnBlownUp>DeleteBrick

DeleteBrick would be just like KillBrick, except it wouldn't have the animation.

It would apply this to every brick while in a minigame upon typing "/BrickDamage2", also reverting back to normal upon typing "/BrickDamage1".


hm...seems nifty but wouldent this mean you would have to completely restart the minigame to restore deleted bricks?

You would have to back them up.

Code: [Select]
registerOutputEvent(fxDTSBrick, "delete", "",1);

package evntdelete
{
//Bypass console errors.
function SimObject::delete(%this,%client)
{
Parent::delete(%this);
}
};
activatePackage(evntdelete);

That can mess up the brick stack and leave floating bricks/fragile structures.

I don't want a new output event, I want it to be applied to all bricks through a command while in a minigame.

Yeah I need to get around to porting my brick damage.

Then I need to get around to releasing it.