GetMap()

Summary

Gets the name of the current map.

Syntax

map_name = GetMap()

Returns

A string that is the name of the current map, or null if there is no open map.

Notes

  • Any function that accepts a map name as an argument uses the current map if the argument is left null.

Example

map_name = GetMap()
ShowMessage("The name of the current map is " + map_name)

See Also

Function Summary
GetMaps() Get a list of maps and the name of the current map
GetMapNames() Gets a list of the names of maps in the system
SetMap() Makes a map the current map