Author Topic: Brick shooter  (Read 584 times)

Ok im trying to make a little building and when you press a button lots of bricks constantly fly out with phisics and just start landing every were. Help please

I'm sorry, how do you mean?
What sort of button?
Do you have a weapon equiped?
Or have you messed up some events?

You're going to have to be slightly more specific.

OK, I'm making  pile of bricks that I want to fly everywhere. Help?
Fixed. i think.

I've done this.

You need to make a stack on bricks. Use four 1x1F's in front, then one 2x4F, and a 1x4F behind the 1x1F's and on top of the 2x4F. Do that about six times. Then on the 1x1F's, add this event:

Code: [Select]
[X] 0 [0] onRelay > Self > fakeKillBrick > (See Below)

The X and Y may need to be changed depending on how you build this, the Z should be zero, and the time can be anything above 3. Below that just looks bad.

Okay, now on the bottom 2x4F, name the brick Brick_Emitter_Start

Add this event to all non-1x1F's:

Code: [Select]
[X] 0 [50] onRelay > Self > fireRelayUp

On the brick you want to use to trigger the brick emitter, use this event:

Code: [Select]
[X] 0 [0] onInput* > <NAMED BRICK> [Brick_Emitter_Start] > fireRelay

*For the onInput, any input may be used.

Here's a horrible picture.

= - 2x4F
+ - 1x1F
# - 1x4F

Front:

====
++++
====
++++
====
++++
====
++++
====
++++
====

Top:

====
====

Side:

==
#+
==
#+
==
#+
==
#+
==
#+
==