Category: Landscape
/ Material
Since engine version: 1.0 OC
GBackLiquid
Description
Checks whether there is liquid at the specified position in the landscape.
Syntax
bool GBackLiquid(int x, int y);
Parameters
- x:
- X coordinate. Offset in local calls.
- y:
- Y coordinate. Offset in local calls.
Example
if(GBackLiquid()) Explode();
If the object is underwater it explodes.