Open main menu

UESPWiki β

Daggerfall Mod:DFRemake/DFELoad3dObject

< Mod / Daggerfall: Daggerfall Mod: DFRemake

integer DFELoad3dObject (DWORD ObjectValue)Edit

InputsEdit

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


OutputsEdit

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


DescriptionEdit

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.


NotesEdit

ExampleEdit

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