Server teleport

I’m making a game where you would matchmake up to 4 players for a short game lasting 1-3 minutes on a certain level-map.

I want to have a way where after player matchmake and teleports them to their area/map. Would each level have 50 maps copied and pasted on a grid if the max player is 50? then i would have 1000 small maps lying around if i have 20 levels which would cause lag.

What you can do is remove maps that the player isn’t on. Let’s say Player 1 is on Map 393 and Player 2 is on Map 594.

Using a local script on Player 1 you can remove Map 594 locally since they aren’t on it. You can then just replace it once they enter that map.

1 Like

oh so like when squad #5 is ready they generate the map the level is on? Lemme think about that

Yeah so general rule of thumb for big games is to locally remove anything out of sight of the client. This especially helps low-end computers.