GBackLiquid

Category: Landscape / Material
Since engine version: 1.0 OC

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.
See also: GBackSemiSolid, GBackSky, GBackSolid, GetMaterial, InLiquid
Günther, 2002-04