Open main menu

UESPWiki β

Daggerfall Mod:DFRemake/DFEGetNext3dObject

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

integer DFEGetNext3dObject ( )Edit

InputsEdit

None

OutputsEdit

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

DescriptionEdit

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

ExampleEdit

Local ErrResult as integer
Local Count     as DWORD

ErrResult = DFEGetFirst3dObject()
Count = 0

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