- Documentation
- Server functions
- getColPolygonHeight
Function
getColPolygonHeight
Returns the polygon zone height range set with setColPolygonHeight.
Syntax
float, float getColPolygonHeight(colshape shape)Arguments
shapecolshape- A polygon zone.
Returns
Floor and ceiling, or false when unlimited.
Example
local zone = createColPolygon(0, 0, -5, -5, 5, -5, 5, 5)
setColPolygonHeight(zone, 0, 10)
local lo, hi = getColPolygonHeight(zone)