Author Topic: teleport  (Read 3392 times)




stop it i just want some one to help me


First, download and enable that setPlayerTransform event for your server.

Create two normal 2x2 bricks. Paint one red and the other blue.

Using the wrench, give both of them memorable brick names. (Say, "Red" and "Blue" for convenience)

On the Red brick, add this event:
Code: [Select]
onActivate -> <NAMED BRICK: Blue> -> setPlayerTransform -> [North] [unchecked]
Click the red brick. You should teleport to the Blue brick, and end up facing north.


The setPlayerTransform event applies to bricks. When it is triggered, the player who first activated the brick (e.g. onActivate as in clicking it, onPlayerTouch as in walking on it) will be teleported to the brick that you triggered the event on. Using this with <NAMED BRICK> allows you to set a different brick as the target for teleporting. The two parameters of the event allow you to set the direction of the player (for instance, you may want a player to face out of a door/elevator you teleport them to) and whether your speed and direction are carried through the teleport, with the checkbox.

-snip-
Aww... you told the bastard. D: He put it in the wrong section too.

ty il try it, and no i didnt put it in the rong selection

When in the wrench event window press ALT+F4, if blockland crashes, then your computer can not handle the awesomeness
Kidding, you need a add-on
LOLOLOL