Using scoreboard objectives as arguments for commands [duplicate]
//ads -- adsterra.com -- native banner
?>
Is there any way to use scoreboard objectives as arguments for commands?
For example, say I have a command block that should teleport a player to a location based on their score.
tp Notch score_Notch_Deaths 0 0
This should teleport Notch to an x-coordinate based on his Deaths score.
If this is possible, what would the actual syntax be?
Pictures about "Using scoreboard objectives as arguments for commands [duplicate]"
![Using scoreboard objectives as arguments for commands [duplicate] - Different sizes and forms of scissors Using scoreboard objectives as arguments for commands [duplicate] - Different sizes and forms of scissors](/assets/images/using_scoreboard_objectives_as_arguments_for_commands_duplicate_1.jpeg)
![Using scoreboard objectives as arguments for commands [duplicate] - A Person Using a Laptop in an Office Using scoreboard objectives as arguments for commands [duplicate] - A Person Using a Laptop in an Office](/assets/images/using_scoreboard_objectives_as_arguments_for_commands_duplicate_2.jpeg)
![Using scoreboard objectives as arguments for commands [duplicate] - Woman blaming husband in home quarrel Using scoreboard objectives as arguments for commands [duplicate] - Woman blaming husband in home quarrel](/assets/images/using_scoreboard_objectives_as_arguments_for_commands_duplicate_3.jpeg)
Learn Command Blocks (Ep 1): Scoreboard Objectives
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Anete Lusina, Karolina Grabowska, Cup of Couple, Keira Burton
