SetWaterQuadType
Docslocal retval = SetWaterQuadType(waterQuad, type)Description
This native allows you to update the water quad type.
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 |
type | int | The water quad type |
Returns
BOOLReturns TRUE (1) or FALSE (0).
Examples
Official
local success = SetWaterQuadType(0, 0)