Basically I need to make a command block place a different command block at a specific place that links to one specific person. This place will change from person to person. read bellow for more detail.
My problem I’m having is a quite complex one so I will start from the beginning of my problem. Me and my friend making an adventure map or something like it. He has absolutely no idea how to use command blocks so I’m here to help. My friend is a huge fan of DND so wants to make a fantasy like game where you choose your class and your race and that changes your effects. I’m clever enough to make it keep potion effects after death by making their spawn point at a specific race-class box to give them their effects again and teleport them where they should be. I also make it so that the specific race class choice is no longer available after they press it.
ON TO MY PROBLEM: Throughout the game you will get checkpoints. These change ALL command blocks teleporting people to X into command blocks teleporting people to Y. Even if they didn’t press the button. This means if someone is at one place and dies they will end up going to another place. We are on bedrock so we will probably make a realm... it would be ok if we made an adventure map but nope! My solution is basically to differentiate between people, but I don’t know how to do that.
Basically I need to make a command block place a different command block at a specific place that links to one specific person. This place will change from person to person. read bellow for more detail.
My problem I’m having is a quite complex one so I will start from the beginning of my problem. Me and my friend making an adventure map or something like it. He has absolutely no idea how to use command blocks so I’m here to help. My friend is a huge fan of DND so wants to make a fantasy like game where you choose your class and your race and that changes your effects. I’m clever enough to make it keep potion effects after death by making their spawn point at a specific race-class box to give them their effects again and teleport them where they should be. I also make it so that the specific race class choice is no longer available after they press it.
ON TO MY PROBLEM: Throughout the game you will get checkpoints. These change ALL command blocks teleporting people to X into command blocks teleporting people to Y. Even if they didn’t press the button. This means if someone is at one place and dies they will end up going to another place. We are on bedrock so we will probably make a realm... it would be ok if we made an adventure map but nope! My solution is basically to differentiate between people, but I don’t know how to do that.
Bedrock just added this beautiful command and I love it.
/tag @p add warrior
/kill @e[tag=warrior]
Now your warrior is dead