Category: Landscape
/ Material
Since engine version: 1.0 OC
GBackSemiSolid
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.