# CheckConstructionSite

Objects
Creation
5.2 OC
bool
id object_id Type of object to be checked.
int xoffset X coordinate
int yoffset Y coordinate
Checks whether the given location is suitable for the construction of object_id. The same check is used before creation in CreateConstruction if check_side is true. In local calls the specified position will be an offset to the position of the calling object.
if(CheckConstructionSite(WindGenerator, 150,100)) Log("It is possible to construct a wind generator at position 150,100.");
CreateConstruction
FindConstructionSite
Clonkonaut
2012-03