#We want to place a 5x5 wall 10 squares in front in the direction the player is facing
1 messages · Page 1 of 1 (latest)
I want to build a 5x5 wall in front of 10 squares.
5 horizontal, 5 vertical
yes
then the code i sent should work
I ran the code you sent, but no wall was created.
I set 2 variables
what did you set the 2 variables to?
set {_loc2} to block 10 infront of player's eyes
set {_loc1} to player's eyes
{_loc2} It seems strange. I want to set it in the direction I am facing.
location of player
yes
so
basically
what you need to do is
set a variable to location 10 blocks in front of player's eyes
wait
ill send code
set {_e} to block 10 blocks in front of player's eyes
set {_e} to block 2 blocks below {_e}
set {_loc_1} to block 2 blocks right of {_e}
set {_e} to block 10 blocks in front of player's eyes
set {_e} to block 2 blocks above {_e}
set {_loc_2} to block 2 blocks left of {_e}
add all blocks within {_loc_1} and {_loc_2} to {_list::*}
loop {_list::*}:
set block at loop-value to stone bricks
wait 5 seconds
loop {_list::*}:
set block at loop-value to air
try this code
It works!!. Lastly, when looking at the floor and creating a wall, a wall is created within the floor. Is it possible to create a wall that matches the floor?
yeah but its much more difficult
Can you do it for me..? I'm asking because I think I can apply it later if I learn it now.