At the start of this game, I need this small area of terrain to be invisible, so when restore map is ran as a command, it doesn’t appear.
(This is an area for the title screen of my game, it disappears after the play button is pressed locally but restore map brings it back. To make it disappear right now, I have an invisible and no collision part over it to get the region3 from).
The only way I could think to do this was to store that bit of the terrain in the explorer somewhere and then spawn it in once the title screen starts. (The title screen is all in one local script as well). Problem is, I have no idea how to do it. No idea how to store terrain, and no idea how to spawn it in that exact spot, too. Any help is very appreciated because I have no idea how to do this.
Also, another possible solution is if anyone knows how to run the command to destroy that bit of terrain every time “restoremap” is ran as a command, using HD admin, which might be easier. If anyone knows how to do that, that would also help my problem.
Do you use terrain for your entire game? If not and that is the only terrain then there’s a solution but if you do use terrain for your entire game then there’s no solution. You can’t change the position of a specific terrain or even reparent it
Doesn’t this save every terrain within the game? They’re looking for a specific part of their terrain to be hidden (Thats why I asked if they use terrain for their entire game)
It does save every terrain in the workspace, but you can probably copy and past the terrain region in a separate place, and remove every other part except for the island (And save the terrain from that place and transfer it back over)
After trying, this doesn’t really work. For one, it needs to load in a local script because I only want it to be visible for anyone in the title screen. Also, it replaces all terrain, so just saving that small bit wouldn’t work, and saving the whole island would probably introduce bugs, and if not, it would still probably be really laggy. I’m sure there’s a way to do it since I think I’ve seen other games do it, I just really don’t know how.
I figured out a solution that works for me, the camera angle made it so the terrain didn’t have to be too advanced to look the same, so I just used game.Workspace.Terrain:FillRegion(region, 4, Enum.Material.Ground) and although it’s blocky, it’s unnoticeable in game.