Welcome to PenUltima Online. Click to login or register.

Functions:

CreateItemCopyAtLocation(x, y, z, item, realm := _DEFAULT_REALM)
Parameters:
Name Type
x,y,z Integer world coordinates
realm String - case-sensitive name of the realm
item Item Reference
Explanation
makes a clone of the item referenced with "itemref" at location x,y,z. Copies member variables and CProps. Does not work with Multi objects. Does not copy a container's contents.
Return values
A new Item Reference
Errors
"Invalid parameter type"
"Realm not found"
"Invalid Coordinates for Realm"
"Unable to clone item"
"This function does not work with Multi objects."
Related
Item
Related Configs
itemdesc.cfg