Setting terrain textures from one terrain to another

Hi everyone.

So right now i am playing around with height maps and terrain textures.

It was pretty easy to take one terrain that was hilled and bumpy, read its height map, save it, and then send it over to another terrain and apply it.

Now that I have two identical terrains I want to take the original terrain textures and apply them to the new terrain that I am essentially duplicating.

I see the functions SetAlphaMaps, and GetAlphaMaps. But I have no clue how they work since I cant find documentation on them.

Anyone mind throwing a mini example my way on how Id take one terrains textures, and essentially apply it to another terrain of the same size.

This is of course in scripting, not the editor.

No ideas from anyone on how to accomplish this =?

I tried some other things, but I am not understanding what the maps variable stands for.

Another post mentioned that it was the number of splat maps, but that seems weird to my logic.

Bump!

Im really curious about this now. Some one out there must have wanted to export the texture details of a terrain at some point. I keep messing with it, but I cant find any solid way to save my texture data, it seems weird that this is so easy to do with the heightmap, but so incredibly hard with the textures/splats.

Since these commands are undocumented, they are also unsupported. You may be able to find some information about them if you search around.