GBackSemiSolid

Category: Landscape / Material
Since engine version: 1.0 OC

Description

Checks whether there is solid matter or liquid at the specified position in the landscape.

Syntax

bool GBackSemiSolid(int x, int y);

Parameters

x:
X coordinate. Offset in local calls.
y:
Y coordinate. Offset in local calls.

Example

while(GBackSemiSolid()) SetPosition(GetX(),GetY()-1);
This script moves the object to the surface.
See also: GBackLiquid, GBackSky, GBackSolid, GetMaterial, InLiquid
Günther, 2002-04