Blockland Forums > General Discussion
Blackhole Tutorial.
(1/5) > >>
Jacky:
Hello, this is a topic on how to make a black hole.

First, make something that looks like this:



Ok do you see the black brick up there? Name it anything you want. That brick will be the blackhole.
Now the white 16x16 baseplate, go to it and do:

OnPlayerTouch > NamedBrick > fireRelay
                       [BlackHole]

Ok, now  for the black hole. Wrench the black hole brick and click: Events.

Now just follow these events below:


OnRelay > Self > fireRelay

OnRelay > Self > radiusImpulse > [16] [-255] [1]

OnPlayerTouch > Player > Kill

OnPlayerTouch > Self > cancelEvents


Now when you copy those events, when you touch the white 16x16 baseplate the black brick will suck you up.

Hope this helped :3





Chrono:
In CityRPs, replace the 16 with a 99.
Jacky:

--- Quote from: Chrono on July 15, 2010, 02:02:36 PM ---In CityRPs, replace the 16 with a 99.

--- End quote ---
Lol.
Tyler66:

--- Quote from: Chrono on July 15, 2010, 02:02:36 PM ---In CityRPs, replace the 16 with a 99.

--- End quote ---
Nice.
Snaily:
A better way to do it is to use printCountUnderflows, as they can affect more than one person outside a minigame.



0   onPlayerTouch > Self > DecrementPrintCount > 9
0   onPlayerTouch > Self > DecrementPrintCount > 1
0   onPrintCountUnderflow > Self >RadiusImpulse > 100 -5000 100
100   onPrintCountUnderflow > Self > DecrementPrintCount > 9
100   onPrintCountUnderflow > Self > DecrementPrintCount > 1


Edit: With underflows, make sure you provide a delay. 100 is usually good.
Navigation
Message Index
Next page

Go to full version