CreateObjectAbove
Objects
Creation
6.0 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, otherwise global.
CreateObject(Wipf, 100,100, NO_OWNER);
Creates a wipf at coordinates 100/100 with no owner. If the landscape begins at y-coordinate 100, then the wipf will be stuck.
CreateObjectAbove(Wipf, 150,100, NO_OWNER);
Creates a wipf above coordinates 100/100 with no owner. This time the wipf should be standing on the landscape.
CreateConstruction
CreateContents
CreateObject
RemoveObject
springer2002-04
Marky2015-01