GetWaterQuadType
Docslocal retval, waterType = GetWaterQuadType(waterQuad)Description
Valid type definitions:
0 Square
1 Right triangle where the 90 degree angle is at maxX, minY
2 Right triangle where the 90 degree angle is at minX, minY
3 Right triangle where the 90 degree angle is at minX, maxY
- 4 Right triangle where the 90 degree angle is at maxY, maxY
Parameters
| Name | Type | Description |
|---|---|---|
waterQuad | int | The water quad index |
waterType | int* | — |
Returns
BOOLReturns TRUE (1) or FALSE (0).
Examples
Official
local success, type = GetWaterQuadType(0)