problems with modifyterrain command

Blitz3D Forums/Blitz3D Programming/problems with modifyterrain command

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm not sure exactly what you mean...

Firstly, terrains are modified at vertex level rather than being a tile-based thing.

If for some reason you want to store your terrain data in an array, you can do something like this:-
Terrain = CreateTerrain(256)
Dim TerrainArray(TerrainSize(Terrain),TerrainSize(Terrain))
For X = 0 to TerrainSize(Terrain) - 1
  For Y = 0 to TerrainSize(Terrain) - 1
    TerrainArray(X,Y) = TerrainHeight(Terrain,X,Y)
  Next
Next