# CreateObject

Objects
Creation
5.1 OC
object
id id Type of object to be created.
int xoffset X coordinate
int yoffset Y coordinate
int owner Owner of the new object. Either a valid player number or `NO_OWNER` for no owner. If not specified the owner is the controller (see GetController) of the calling object or `NO_OWNER` if the call is made without object context.
Creates an object of the specified type at the specified position. The position will be the bottom center of the new object. xoffset and yoffset are relative to the calling object in local calls, otherwiese global.
CreateObject(Wipf, 100,100, NO_OWNER);
Creates a wipf at coordinates 100/100 with no owner.
CreateConstruction
CreateContents
RemoveObject
springer
2002-04