#Creating unique string from two integers.
1 messages · Page 1 of 1 (latest)
what if you have the same x and z again?
Just realized I'm gonna need to use 3 integers, for x y and z :P
not sure, but it sounds like you could have the first x and z coords as variables
wdym?
as long as the x and z are the same it should produce the same string
yes but how will I get the original 2 values from the new value?
the original variables
ye I need a unique string for each x, y, and z combination. If the same x, y, and z pops up it should create the exact same string result
I need a way to represent a block location with a string.
as short as possible
then just do "{x}|{y}|{z}"
yes..... but I'm sure there must be a shorter and more elegant solution 😄
whats not short and elegant about this?