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

Saving/loading terrain via a script?

Asked by
Newrown 307 Moderation Voter
6 years ago

So I have been wondering how I could go about loading/saving terrain via script, like loading a map in-game, but if the map is built in terrain, I have read some articles on the wiki, but the wiki only explains how to copy/paste the whole terrain in the game, but does not indicate how I could copy and paste a specific part of the terrain.

I also tried creating parts at the boundaries of the terrain and use a Region3int16 using the parts as corners, but it didn't seem to work.

Here is the article I read: http://wiki.roblox.com/index.php?title=API:Class/Terrain/CopyRegion

Any help would be appreciated, thanks in advance.

Answer this question