GetNextRef

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Usable only following GetFirstRef or GetFirstRefInCell, to return the next reference matching the same parameters of the previous function. This command should only be used within a loop that executes within a single frame.

Returns 0 (nothing) if there are no new references left to return that frame.

Syntax

[help]
(ref) GetNextRef

Example

See GetFirstRef