1
Help with horror map
So, I'm making a horror map and I'm trying to figure out a command that will make it so if an armor stand touches a player, it will teleport person to jumpscare thingy. All I need is a way to detect the player touching the thing with a command.
Thanking you in advance,
OrangeDied
Thanking you in advance,
OrangeDied
2
You can do this command... This is for 1.13+
/execute at @a if entity @e[type=armor_stand, distance=..0.5] run tp @a [coordinates]
You can tweak with the distance nbt to find your best liking :)
/execute at @a if entity @e[type=armor_stand, distance=..0.5] run tp @a [coordinates]
You can tweak with the distance nbt to find your best liking :)
/execute @a ~ ~ ~ execute @e[type=Armor_stand,r=1] ~ ~ ~ tp @a <coords of jumpscare>
I think that would be the command for 1.12.2 (I used to do a lot of command block work in 1.12.2) but I don't know much about the new 1.13+ commands so you will have to change it for versions after 1.13
I think that would be the command for 1.12.2 (I used to do a lot of command block work in 1.12.2) but I don't know much about the new 1.13+ commands so you will have to change it for versions after 1.13
