Open main menu

UESPWiki β

Daggerfall Mod:DFRemake/DFEGetFirstDungeonBlock

< Mod / Daggerfall: Daggerfall Mod: DFRemake(Redirected from Daggerfall:DFRemake/DFEGetFirstDungeonBlock)

integer DFEGetFirstDungeonBlock ( DWORD MemblockPtr )Edit

InputsEdit

  • MemblockPtr: Pointer to the memblock (from GET MEMBLOCK POINTER) to receive the dungeon block data. The memblock should be allocated with at least 256 bytes

OutputsEdit

Returns 1 on success or 0 if there are no dungeon blocks in the current dungeon.

DescriptionEdit

This function starts to retrieve dungeon block data from the currently selected dungeon from maps.bsa. The given memblock is filled with the block data (see DFEGetNextDungeonBlock for the specific format).

ExampleEdit

  Local ErrResult as integer
  make memblock 1, 256
  ErrResult = DFEGetFirstDungeonBlock(get memblock ptr(1))

See AlsoEdit