Returns information about a world map overlay. Map overlays correspond to areas which are "discovered" when entered by the player, "filling in" the blank areas of the world map.
See also Map functions.
Signature:
textureName,
textureWidth,
textureHeight,
offsetX,
offsetY,
mapPointX,
mapPointY
=
GetMapOverlayInfo(index)
Arguments:
index
- Index of a map overlay (between 1 andGetNumMapOverlays()
) (number
)
Returns:
textureName
- Path to the overlay texture (string
)textureWidth
- Width of the texture (in pixels) (number
)textureHeight
- Height of the texture (in pixels) (number
)offsetX
- Horizontal position of the overlay's top left corner relative to the zone map (0 = left edge, 1 = right edge) (number
)offsetY
- Vertical position of the overlay's top left corner relative to the zone map (0 = top, 1 = bottom) (number
)mapPointX
- Unused (number
)mapPointY
- Unused (number
)