GetNextRef
From GECK
A function added by the Fallout Script Extender.
Description
Returns the next reference of a given type in the current cell. GetFirstRef or GetFirstRefInCell must be called first; the formType, cellDepth, and boolean arguments passed to GetFirstRef/GetFirstRefInCell are used. This command should only be used within a loop that executes within a single frame.
Syntax
(ref) GetNextRef