Sets the map based on a specified ID. For example, if you are an Undead character in the starting area, which is map ID 21, you can open your map and run SetMapByID(22) to change it to Western Plaguelands. In fact, you can run that anywhere If you are a fresh undead in tirisfal glades(MapAreaID:21), you get your map out, then you use SetMapByID(22) it will change to WPL
See also Map functions.
id- The unique numeric map ID, can be obtained from
-- Set the map to Tirisfal Glades SetMapByID(21) -- Set the map to Western Plaguelands SetMapByID(22)