Difference between revisions of "FindNextFile"

Jump to navigation Jump to search
115 bytes removed ,  05:23, 1 May 2009
m
Shortened example Script a bit.
imported>Haama
(Describing output)
imported>Low Post
m (Shortened example Script a bit.)
 
Line 14: Line 14:


Begin GameMode
Begin GameMode
    SetString -2000 "*.bsa"
SetString -2000 "*.bsa"
    If ( FindFirstFile -2050 -2000 1 ) == 0
FindFirstFile -2050 -2000 1
        StopQuest TestFF
While ( ( StringLen -2050 ) > 0 )
        Return
StringMsg -2050 1
    EndIf
FindNextFile -2050
   
Loop
    SaveIP
StopQuest TestFF
   
    StringMsg -2050 1
    If ( FindNextFile -2050 ) == 0
        StopQuest TestFF
        Return
    EndIf
   
    RestoreIP
End</pre>
End</pre>


Anonymous user

Navigation menu