#Random Teleport
1 messages · Page 1 of 1 (latest)
Do you already have vectors set up
If you want them to be teleported to a random position, you want to get the position of one point (one corner of the map) and another point (other corner of the map) and then you want to split the vectors and have a random float for each point (excluding y) in between the two points and then create a new vector3 for that position
So if one corner is -20 10 100, and another corner is 30 10 20, then I want to split both of their vectors and get a random float from between -20 and 30, and 20 and 100, and create a new vector and set position of player who pressed button
yes
@latent burrow can you explain me that again but a little better bc i cant speak englisch very vell
If you put them all into a list create the use a random from list
Then use get position from the output and use that as the position on set position
That way is a random position inside a area
If you use pre build points with vectors
Then use the random from list
Ik