Daggerfall:DFRemake/DFELoadRegion

A UESPWiki – Sua fonte de The Elder Scrolls desde 1995

integer DFELoadRegion ( DWORD RegionIndex )

Inputs

  • RegionIndex: The region to load.

Outputs

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

Description

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.

Notes

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

Example

  Local ErrResult as integer
  ErrResult = DFELoadRegion(15)