Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clear all Layers
#1
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:
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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)