Daggerfall Mod:DFRemake/DFELoadRegion
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Daggerfall: Daggerfall Mod: DFRemake
integer DFELoadRegion ( DWORD RegionIndex )[edit]
Inputs[edit]
- RegionIndex: The region to load.
Outputs[edit]
Returns DFERR_SUCCESS on success or the error code on any error.
Description[edit]
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[edit]
This function will generally be called automatically as needed by other various functions.
Example[edit]
Local ErrResult as integer ErrResult = DFELoadRegion(15)