Started by
davtov
on
Topic category: Help with MCreator software
So, I want to make it so that if I press a button in a GUI, the player who clicked it, will be teleported to that specific block. Here is my procedure so far and it doesn't work, any suggestions?
Edited by davtov on Mon, 01/06/2020 - 21:36
Solution is that you make a variable, so, for example, let's refer to the block you want to TP to, as "Dest_block". You need to make a variable called something like, "Dest_block_X", and then two more, "Dest_block_Y", "Dest_block_Z". Then, you have to select, for the Dest_block, with a procedure that when it is placed, it sets the variables to it's own "X", "Y", and "Z" coordinates. And for the final step, you have to make it so that the "Move entity to x: y: z: " procedure, for all those coordanates, you'll have to set "get varaible Dest_block_X" and, do this for all 3 coordinate variables and you'll be set.
Hello could you post a screen shot of the procedure you made as the solution? i know you explained it but a pic would really be useful!
thanks