DrawDefMap
Landscape
5.1 OC
bool
int
x
Left border of the rectangle in which to draw the map.
int
y
Top border of the rectangle in which to draw the map.
int
width
Width of the rectangle in which to draw the map.
int
height
Height of the rectangle in which to draw the map.
string
map_name
Name of the map to be used from Landscape.txt.
Draws a dynamic map within the specified rectangle over the old landscape using a given map specification from Landscape.txt.
The Landscape.txt component is usually removed from memory after scenario initialization. To keep it in memory for later use by this command you should specify the option KeepMapCreator=1 in Scenario.txt section [Landscape].
DrawDefMap(0,0,LandscapeWidth(), LandscapeHeight(), "TheMap");
Draws 'TheMap' over the complete landscape. 'TheMap' must be defined in Landscape.txt.
DrawMap
Sven22002-04