Kategorie: Landschaft
Ab Engineversion: 5.1 OC
DigFree
Beschreibung
Makes a circular 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.
Syntax
int DigFree(int x, int y, int radius, bool no_dig2objects);
Parameter
- x:
- X-Koordinate
- y:
- Y-Koordinate
- radius:
- Radius
- no_dig2objects:
- Prevent objects from being dug out
Beispiel
DigFree(700, 1500, 5);
Gräbt ein kleines Loch mitten in der Landschaft.
Siehe auch: DigFreeRect, Explode


