Method Global:GetMapById [-] [+]

Returns a Map by ID.

Synopsis

map = GetMapById( mapId )

map = GetMapById( mapId, instanceId )

Arguments

number mapId

See Map.dbc.

Valid numbers: integers from 0 to 4,294,967,295.

number instanceId (0)

Required if the map is an instance, otherwise don't pass anything.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

Map map

The Map, or nil if it doesn't exist.

Generated on
©2016 - Eluna Lua Engine