Daggerfall Mod:DFRemake/DFEGetFirstDungeonObject

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

integer DFEGetFirstDungeonObject ( DWORD MemblockPtr )[edit]

Inputs[edit]

  • MemblockPtr: The pointer to a memblock from the GET MEMBLOCK PTR command.

Outputs[edit]

Returns 0 if there are no objects in the current block to iterate through or 1 on success.

Description[edit]

Begins iterating through all objects in the current dungeon block, storing information in the given memblock. Memblocks should be allocated with 256 bytes. See DFEGetNextDungeonObject for more information including the format of memblock data.

Example[edit]

  Local Result as Integer

  make memblock 1, 256
  Result = DFEGetFirstDungeonObject(get memblock ptr(1))