Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Two maps, two teams: Make one map invisible for the other team?

Asked by 3 years ago

I have two teams with their own map. The map doesn't have world borders, so objects outside and far away from the map are visible.

When the game starts, I spawn the maps on Workspace, beside each other.

How do I make the other map invisible from the other map/from the other team?

The map is an open farm field, therefore world border objects such as tall mountains won't fit the theme.

One way that I thought of is adding a custom skybox for each map, but I don't know if it is possible to have a scalable skybox where I can put the map inside.

1
move the maps farther away from eachother maybe 100000 studs, they wont be able to see eachother. Feroxidus 83 — 3y
0
Oh, I haven't thought of that, thank you! Wouldn't it affect performance tho? ConsteIeo 63 — 3y
2
I'm not sure if this is a good idea, but you could fire an event to delete the map on each player's client that is on the opposite team. R_alatch 394 — 3y
1
oh forgot about clientside parts vs serverside parts R_alatch has a better plan, remember to delete the players clientside as well Feroxidus 83 — 3y
0
That seems like a wonderful idea. Can someone type it as an answer so that I can mark this as accepted? Thank you guys, have a good day! ConsteIeo 63 — 3y

Answer this question