GetNextRef

From GECK
Jump to: navigation, search


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]
(reference) GetNextRef 

Example

See GetFirstRef