forum Forumsplay_arrow Minecraft fiber_manual_record Help

1

How do I detect the distance/radius equal to a score in minecraft 1.13

1 emerald1 reply64 views
created 10/27/2018 2:45 pm by SwiftNinjaPro
last reply 10/28/2018 9:35 am
I can not seem to find any search results related to this question. How do I detect the distance/radius equal to a score?

example:
/scoreboard objectives add Score dummy
/scoreboard players set FakePlayer Score 10
/execute as @a[distance=..Score]
or
/execute as @a[distance=..{FakePlayer Score}]

Is there any solution or workaround to this?

Posted by avatar
SwiftNinjaPro
Level 28 : Expert Engineer
4

comment Login or register to post a reply.

1 reply

10/28/2018 9:35 am
Level 39 : Artisan Engineer
ShelLuser
Can't be done. The problem is that Minecraft doesn't know the concept of variables, the thing which you do have in regular programming (or scripting) languages.

The workaround would be to add commands which check for each value(s) of the score you need and apply the command you want to execute in a static way.

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome