#execute store result storage?!?

1 messages · Page 1 of 1 (latest)

fallen sorrel
#

Ok i have to be honest, i have absolutely no idea how to use this command and whether i can use it for randomizing a position. So i need a command that will summon or tp an entity in a random range of positions that could be in the air(spreadplayers wont work).

plucky otter
#

yes you could use the above command, what exactly are you stuck on?

#

you can combine it with the random command for your random x,y,z values

fallen sorrel
#

im still slightly confused.

#

I want to make it relative to the entity

#

OHHHH

#

i have an idea but im not sure if it will work

#

what if a scoreboard saves the current X pos and then another scoreboard selects a random number between -5 and 5 and then i just add them both

#

and just set the X position of the entity to that scoreboard

#

hypothetically it should work im going to test it out before closing the question

fallen sorrel
#

oh

#

ok it works ill just have to ask another question

#

is there a way to make it a decimal value?

#

I found a solution, thanks anyways!