Daggerfall Mod:DFRemake/DFEIsValidRegion
< Mod / Daggerfall: Daggerfall Mod: DFRemake(Redirected from Daggerfall:DFRemake/DFEIsValidRegion)integer DFEIsValidRegion ( DWORD RegionIndex )Edit
InputsEdit
- RegionIndex: The index of the region to check.
OutputsEdit
Returns 1 if the given region is valid, and 0 otherwise.
DescriptionEdit
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.
ExampleEdit
Local Result as integer Result = DFEIsValidRegion(17) if (not Result) then End