function CopyObject (object oSource, location locLocation, object oOwner = OBJECT_INVALID, string sNewTag = "")

Duplicates the object specified by oSource. ONLY creatures and items can be specified. If an owner is specified and the object is an item, it will be put into their inventory If the object is a creature, they will be created at the location. If a new tag is specified, it will be assigned to the new object.

  • Return type: object
  • Include file: nwscriptdefn

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.