Open main menu

UESPWiki β

Daggerfall Mod:DFRemake/Resource - RMGet3dObjectCopy

< Mod / Daggerfall: Daggerfall Mod: DFRemake(Redirected from Daggerfall:DFRemake/Resource - RMGet3dObjectCopy)

DWORD RMGetObjectCopy ( DWORD ObjectValue )Edit

InputsEdit

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

OutputsEdit

Returns the object ID of the newly created object.

DescriptionEdit

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

NotesEdit

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).

ExampleEdit

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