#Teleport player to different location after spawning
1 messages · Page 1 of 1 (latest)
Something like this?
{
transform.position = new Vector3(0, 10, 0);
}
You would need to check for IsLocalPlayer or IsOwner first but yea.
I have this now but it still only works once every like 10 times
{
if(!IsOwner && OwnerClientId != 1) return;
transform.position = new Vector3(0, 10, 0);
}
I specifically want client1 to go somewhere else
that will work. You can also cycle through spawnpoints if you have more than 2 players
Well the thing is, it doesn’t work :/
Try with IsLocalPlayer instead. IsOwner might actually take a frame to be set correctly after spawning
That seems to be working! Many thanks