Should be used instead of
CreateObject to create a building or construction site. In local calls the specified position will be an offset to the position of the calling object. If check_site is 1, the site is checked for suitability before creating the object. If the site is not suitable (e.g. rough ground or not enough space), a message is displayed above the calling object and the function returns
nil
.
CreateConstruction(WindGenerator, 150,100, 0,100,1 );
Creates a complete wind generator at position 150/100 for player 1 and adjusts the landscape to the building.
CreateConstruction(SteamEngine, 200,100, NO_OWNER, 30,1 );
Creates a steam engine construction finished by 30% site at position 200/100 with no owner, also adjusting the landscape.