You could try
index = GetCurrentMapIndex() - but there is a chance it will return a nil value for some reason
And then it looks like this will get you more info
name, mapType, mapContentType = GetMapInfo(luaindex index)
These are listed in the WIKI for more information.
|