Author Topic: Fake kill  (Read 570 times)

If I was to create a projectile that would fake kill a brick via %brick.fakekillBrick or whatever the code is. How would I set the respawn time for the brick or is that the B respawn in the minigame window, Basically do they carry the same variables.

fxDTSBrick::fakeKillBrick(vector [direction the brick goes in],integer [respawn time])

It works just like the fakeKillBrick event - you put in three numbers for the direction and a respawn time.

%brick.fakeKillBrick("0 0 10",5); would kill the brick for five seconds, and the direction makes it look like it was hit by a hammer. (Moving up slightly)

Ah I see thanks alot Space Guy. :D

Does anyone know if you were trying to get a brick and do somthing to it via console how you could do it by its name, I think NiXiLL said that it was ("_Name").fakeKillBrick("0 0 10",5);

Say a brick is named Truce.
_Truce.fakeKillBrick("0 0 0",0);

Say a brick is named 123_456.
_123_456.fakeKillBrick("0 0 0",0);