Daggerfall Mod:DFRemake/Resource - RMGet3dObjectCopy

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

DWORD RMGetObjectCopy ( DWORD ObjectValue )[edit]

Inputs[edit]

  • ObjectValue: The object value (from the Arch3d directory) that you wish to create a copy of

Outputs[edit]

Returns the object ID of the newly created object.

Description[edit]

Use this function to create a new copy of the given object (object value from the Arch3d directory).

Notes[edit]

This function should never fail but will return 0 if it does. It can only fail if the NULL object does not exist (meaning an invalid object cache state).

Example[edit]

  Local NewID as DWORD
 
  NewID = RMGetObjectCopy(456)
  Position Object NewID, 10, 30, 20