Daggerfall Mod:DFRemake/DFELoad3dObject

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

integer DFELoad3dObject (DWORD ObjectValue)[edit]

Inputs[edit]

  • ObjectValue - The object value from the Arch3d.Bsa directory that you wish to load.


Outputs[edit]

Returns the error code from the operation, or DFERR_SUCCESS on success.


Description[edit]

Attempts to load the given object from the arch3d.bsa file. The BSA directory is read if it has not yet been input. On success the current 3d object will be the given object.


Notes[edit]

Example[edit]

Local ErrResult as integer
ErrResult = DFELoad3dObject(456)
if (ErrResult <> DFERR_SUCCESS) then End