Daggerfall Mod:DFRemake/DFEGetNext3dObject

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

integer DFEGetNext3dObject ( )[edit]

Inputs[edit]

None

Outputs[edit]

Returns 1 on success and 0 if there are no objects left to iterate through.

Description[edit]

Use this function to continue iterating through all 3d objects in the arch3d.bas file after an initial call to DFEGetFirst3dObject.

Example[edit]

Local ErrResult as integer
Local Count     as DWORD

ErrResult = DFEGetFirst3dObject()
Count = 0

while ( ErrResult )
   inc Count
   print "Found object #", Count
   ErrResult = DFEGetNext3dObject() 
endwhile