26-08-2007, 02:16 AM
GSD tutorial for extra layers is needed, or you'll have to figure out which once you dont need. This code uses more layers than a unedited MSE1.
Add a new command button to the map editor, put this in it:
Add a new command button to the map editor, put this in it:
Code:
Dim y As Long
Dim x As Long
For y = 0 To MAX_MAPY
For x = 0 To MAX_MAPX
If frmMapEditor.optLayers.Value = True Then
With Map.Tile(x, y)
.Ground = 0
.Mask = 0
.Anim = 0
.Mask2 = 0
.M2Anim = 0
.Fringe = 0
.FAnim = 0
.Fringe2 = 0
.F2Anim = 0
End With
End If
Next x
Next y