Daggerfall:DFRemake/DFELoad3dObject

A UESPWiki – Sua fonte de The Elder Scrolls desde 1995

integer DFELoad3dObject (DWORD ObjectValue)

Inputs

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


Outputs

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


Description

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

Example

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