Blockland

Blockland

Not enough ratings
The Guide to Blockland Events
By hexateron
Do events confuse you? Are you sick of people saying 'omg how do u make urself small!!!!!'? Are you one of these people? If you say 'yes' to all of those questions, then this guide is for you! If you say 'no' to some of them then this guide is still for you! I personally say no, yes and no to these questions.
   
Award
Favorite
Favorited
Unfavorite
Welcome
WARNING: THIS GUIDE ISN'T FINISHED YET!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I will do Basic Output, Other Input, Other Output and describe things such as bots and onRelay in the future. Just wait for it...

------------------------------------

Welcome to the guide to events on Blockland! This will explain the basic functions of events. If one is missing, ask to add it in the comments.
How to Access Events
You should already know that to access the properties of a brick, you hit it with the wrench. Well you can access a more complicated screen where you can make your brick do stuff by clicking the Events button on the bottom of the property window. You should be looking at a big screen. Click the blank box to add a new event from a drop list and go from there.
Event Types
NOTICE: You can skip this if you want.

Input

The first box will be how the event will be triggered. It could be in response to clicking a brick, touching it or the brick in question respawning. When you select an input event, you should come across another list to the right. This is the...

Target

This is what the event will happen to, or the target. You can make something happen to the brick in response to the input event (select Self), the player that triggered it (Player) or his/her client (the player's game) (Client).

Output

This is what happens to the target in response to the input. There are lots of possibilities for the output, such as making the brick disappear, killing the player that triggered it or making a message appear on the player's screen.

Output Parameters

This will decide how your event works, depending on the event.

Delay

The changeable value to the left of the input is the Delay. This is how many milliseconds it takes for an event to happen. For convenient reference, 1000 milliseconds is 1 second. The maximum delay for an event to happen is 30 seconds.

Enabled

This is a boolean that decides if the event is processed or not. The event toggleEventEnabled can change this.
Basic Input
onActivate

This is probably the most basic event. It is also at the top of the list, making this the event you want to select if you want to test some events. This will make the trigger a player clicking the evented brick.

onMinigameReset

This event makes the trigger a minigame resetting. Minigames really aren't this guide's topic though.

onPlayerTouch

What do you think? It makes the trigger a player touching the brick, aka. standing on it.

onProjectileHit

It makes the trigger a projectile hitting the brick, aka. a gun bullet or a rocket. This adds a new target event called Projectile.

onRespawn

This makes something happen if the brick respawns. Useful for making a brick never respawn after being blown up or something.
2 Comments
Shorp 26 Nov, 2016 @ 4:49am 
BOOOOOOOOOOOOOOOOOOOOOOOOOZ
hexateron  [author] 14 Sep, 2014 @ 10:10am 
i will add more in the future k