Blockland Forums > Help
Physics
<< < (2/5) > >>
Regulith:
Well, as you've seen, I don't know how to make good zone events. However, if you want to fakekill the building beforehand, here's what you do:

Name every single brick that you want to break the same thing. I'll just say "building".

Make a button of some sort. Set these events:


--- Code: ---OnActivate | NAMED BRICK | FakeKill [0] [0] [0] [?]
             building
--- End code ---

Make "?" the number of seconds you want the bricks to remain physics bricks. Basically, how long you want them to stay able to break or broken.

Then, all you need to do is press the button and drive your vehicle into it.
Alanze:
1.Where do i put the code?
2.How do i make a button?
Regulith:

--- Quote from: Alanze on July 28, 2009, 01:18:05 PM ---1.Where do i put the code?
2.How do i make a button?

--- End quote ---

1. Sorry, forgot to explain, not used to completely new people. The part in the code is for the in-game events system. Hit a brick with the wrench and click "Events" at the bottom. Click each box to set that section of the event. I posted them in order, so, just click on the first gray box and select "OnActivate". This means, basically, "When you click on this brick...". Repeat for the rest of the boxes.

2. Any brick can be a button. If you want to, you can also download JVS switches, as they include interactive buttons, but you might want to wait until you get comfy with Blockland first.
Alanze:
So do u have to put anything in the brick button? and can it be any block or what?
Alanze:
Well i still dont quite get where u put the code in teh brick
Navigation
Message Index
Next page
Previous page

Go to full version