Open main menu

UESPWiki β

Daggerfall Mod:DFRemake/DFELoadRegion

< Mod / Daggerfall: Daggerfall Mod: DFRemake(Redirected from Daggerfall:DFRemake/DFELoadRegion)

integer DFELoadRegion ( DWORD RegionIndex )Edit

InputsEdit

  • RegionIndex: The region to load.

OutputsEdit

Returns DFERR_SUCCESS on success or the error code on any error.

DescriptionEdit

This function loads all the dungeon (MapDItem) and location (MapPItem) records for the given region. Once this function is called, the dungeons/locations in the region can be iterated through or a specific dungeon/location data exported.

NotesEdit

This function will generally be called automatically as needed by other various functions.

ExampleEdit

  Local ErrResult as integer
  ErrResult = DFELoadRegion(15)