Author Topic: HOW DO YOU MAKE IT SO WHEN YOU TOUCH A BLOCK IT TALEPORTS YOU TO ANOTHER BLOCK?  (Read 963 times)

can you please help me i want to make it so when you touch a block it teleports you to another block?

Whoa whoa whoa!!!  You're supposed to post that on the help section!

Please stop making you titles in all caps. This would also have gone in the Help section.

To teleport, you must download the Event_SetPlayerTransform add-on.

Then, make two bricks. Name one A and the other B.

For A:
Code: [Select]
[  100] Onplayertouch > NAMED BRICK B > SetPlayerTransform > [direction]
[    0] Onplayertouch > Self > Setcolliding > [ ]
[ 5000] Onplayertouch > Self > Setcolliding > [#]
[    0] Onplayertouch > NAMED BRICK B > Setcolliding > [ ]
[ 5000] Onplayertouch > NAMED BRICK B > Setcolliding > [#]

For B:
Code: [Select]
[  100] Onplayertouch > NAMED BRICK A > SetPlayerTransform > [direction]
[    0] Onplayertouch > Self > Setcolliding > [ ]
[ 5000] Onplayertouch > Self > Setcolliding > [#]
[    0] Onplayertouch > NAMED BRICK A > Setcolliding > [ ]
[ 5000] Onplayertouch > NAMED BRICK A > Setcolliding > [#]

Here's what you should have: When you step on A, you will be teleported to B. If you stay on B for 5 seconds, you will teleport back to A.

(If I made any errors, please correct them)

im so sorry you guys i am new i didt know htere was a help section

im so sorry you guys i am new i didt know htere was a help section


For future reference:

Help
"Need help with installing or playing the game? Post here."

im so sorry you guys i am new i didt know htere was a help section


figures.

Max4344 TIP :Dont post this in the General Discussion post it in the HELP

Max4344 TIP :Dont post this in the General Discussion post it in the HELP

unless it's an addon, map, face/decal/print, question, help topic, or anything else that doesn't belong there

unless it's an addon, map, face/decal/print, question, help topic, or anything else that doesn't belong there
it just got moved

can you please help me i want to make it so when you touch a block it teleports you to another block?

You need the set player transform event.