// GetWaterHeight
BOOL GET_WATER_HEIGHT(float x, float y, float z, float* height);
Parameters:- x:
The coordinate at which to test at for water.
- y:
The coordinate at which to test at for water.
- z:
The coordinate at which to test at for water.
- height:
The height at which to test at for water.
Returns: Returns false
when land at the tested coordinates is higher than water, true
otherwise.
Retrieves the depth of the water beneath the specified position, accounting for the waves.
Note: The result might vary depending on the specific frame when this command is executed due to wave fluctuations.