Daggerfall Mod:DFRemake/DFEIsValidRegion
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Daggerfall: Daggerfall Mod: DFRemake(Redirected from Daggerfall:DFRemake/DFEIsValidRegion)
integer DFEIsValidRegion ( DWORD RegionIndex )[edit]
Inputs[edit]
- RegionIndex: The index of the region to check.
Outputs[edit]
Returns 1 if the given region is valid, and 0 otherwise.
Description[edit]
Checks if the given region is a valid region index. Although regions are pretty much hardcoded at 61, this provides a useful sanity check for region indices.
Example[edit]
Local Result as integer Result = DFEIsValidRegion(17) if (not Result) then End