# DigFreeRect

Landscape
5.1 OC
int
int x X coordinate
int y Y coordinate
int width Width
int height Height
bool no_dig2objects Prevent objects from being dug out
Makes a rectangular hole in semi-solid materials. The return value is the amount of pixels that were dug free. If no_dig2objects is true, the dug out material does neither create objects according to the Dig2Objects in the *.ocm nor will the amount be stored in the internal buffer.
Drills an elevator shaft.
DigFreeRect(700, 1500, 15, 15);
Makes a square hole in the middle of the landscape.
DigFree
jwk
2002-04