DigFreeRect
Category: Landscape
Since engine version: 4.6.5.0 CP
Description
Makes a rectangular hole in semi-solid materials.
Syntax
void DigFreeRect
(int iX, int iY, int iWdt, int iHgt, bool fRequest);
Parameters
- iX:
X coordinate
- iY:
Y coordinate
- iWdt:
Width
- iHgt:
Height
- fRequest:
Determines if on demand material items should be created. If true the behaviour is the same as if pressing [Dig] while a clonk is already digging to create earth chunks, for example.
Remark
Drills an elevator shaft.
Example
DigFreeRect(700, 1500, 15, 15);
Makes a square hole in the middle of the landscape.
jwk, April 2002