# GBackSolid

Landscape
Material
4.6.5.0 CP
bool
int x X coordinate. Offset in local calls.
int y Y coordinate. Offset in local calls.
Checks whether there is solid matter at the specified position in the landscape.
var obj=FindObject(Rock); while(GBackSolid(GetX(obj)-GetX(),GetY(obj)-GetY())) SetPosition(GetX(obj),GetY(obj)-1,obj);
This snippet of script moves a rock upwards so it rests on top of solid matter.
GBackLiquid
GBackSemiSolid
GBackSky
GetMaterial
Günther
2002-04