Map Polygon Height

Returns the total height (in tiles) of the specified polygon in the current map.

Syntax

height = Map Polygon Height (polygonIndex)

Description

height is the total height (in tiles) of the polygon polygonIndex.

Polygons are not necessarily rectangles. This function simply returns the total height from the top to the bottom of the polygon. To test if individual tiles are contained inside the polygon use the function In Map Polygon.


Table of contents