Author Topic: Quick Question  (Read 3037 times)

Hey everyone! kinda new here and have been searching around the forums for some answers to my question but have not found any...

my main question is: is there a way so if i build a tower and destroy the bricks on the whole bottom floor to make the whole tower collapse? sorry if there are already answers to this i just could not find it.

thanks!!

Set all the other bricks to fakekill when the other is destroyed.

inb4plaz

Well, if you're talking about fake killing I think there's a (private?) add-on you can find that'll do that. But otherwise if you just delete the baseplate it's on then the whole thing will be permanently destroyed

He is talking about something like this: If you blow up the bottom floor of a tower, the others floors above it should be fake killed as well, simulating a realistic tower destruction effect.

This would probably be done by using a raycast to determine if a brick has any supports near it, if not, fake kill it.

hmmm ok i kind of figured it out. i set the brick to onBlowUp to send a relay up and also when a relay is recieved to send another relay up and then used the duplicator tool to make all the blocks have this setting...it sort of works.......

and yeah that is what i was talking about to the post above me. how do i do a raycast?

you wouldn't be able to do it, i don't think
Well, if you're talking about fake killing I think there's a (private?) add-on you can find that'll do that. But otherwise if you just delete the baseplate it's on then the whole thing will be permanently destroyed
nah, just use events/console command to fake kill a brickgroup, forgot the command though

how do i do a raycast?
Raycasting is a property of objects. Normal people do by default. The real question is: How do you not raycast. This in real life would require some sort of rapid-teleportation and/or phasing. In Blockland you can set raycasting to off by wrenching a brick. Or plate.

you wouldn't be able to do it, i don't thinknah, just use events/console command to fake kill a brickgroup, forgot the command though

for(%i=0;%i<BrickGroup_XXXX.getCount();%i++) { BrickGroup_XXXX.getObject(%i).fakeKillBrick("0 0 0",60); }
// fill in the X's with your BLID

for(%i=0;%i<BrickGroup_XXXX.getCount();%i++) { BrickGroup_XXXX.getObject(%i).fakeKillBrick("0 0 0",60); }
// fill in the X's with your BLID
Is the slashes and for needed?

Is the slashes and for needed?
No, // means that it's a comment. Replace the Xs with your BL_ID. You'll need everything else, put it in your console by pressing ~ .


« Last Edit: April 09, 2010, 11:03:34 PM by Albatross »

ok thanks for the information guys! seems a little more complicated than i would have liked so maybe i will just pass on this. ill come back to it later. thanks for the information though!

just for some info what is a brickgroup/how do i add bricks to one or make a brickgroup? any info on brickgroups would be nice
« Last Edit: April 10, 2010, 07:27:20 PM by extremepb319 »

Name a group of bricks?