Daggerfall Mod:DFRemake/DFEGetFirstRegionLocation
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Daggerfall: Daggerfall Mod: DFRemake(Redirected from Daggerfall:DFRemake/DFEGetFirstRegionLocation)
integer DFEGetFirstRegionLocation ( DWORD MemblockPtr, DWORD RegionIndex )[edit]
Inputs[edit]
- MemblockPtr: Pointer to the memblock (from GET MEMBLOCK POINTER) to receive the location data. The memblock should be allocated with at least 256 bytes.
- RegionIndex: The region index to start iterating locations in.
Outputs[edit]
Returns 0 if there are no locations in the given region (or on any error). Returns 1 on success.
Description[edit]
Use this function to start iterating through all locations in a given region. See DFEGetNextRegionLocation for a description of the memblock data format.
Example[edit]
Local Result as integer make memblock 1, 256 Result = DFEGetFirstRegionLocation(get memblock ptr(1), 19)
See Also[edit]
- DFEGetNextRegionLocation