Daggerfall Mod:DFRemake/Resource - RMGet3dObjectInstance
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Daggerfall: Daggerfall Mod: DFRemake(Redirected from Daggerfall:DFRemake/Resource - RMGet3dObjectInstance)
DWORD RMGetObjectInstance ( DWORD ObjectValue )[edit]
Inputs[edit]
- ObjectValue: The object value (from the Arch3d directory) that you wish to create an instance of.
Outputs[edit]
Returns the object ID of the newly created object instance.
Description[edit]
Use this function to create an instance of the given object (object value from the Arch3d directory). An instanced object shares much of its data with the original object but can be moved, rotated, and animated seperately.
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 = RMGetObjectInstance(456) Position Object NewID, 10, 30, 20