Difference between revisions of "GetNextRef"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(clarified)
imported>Odessa
 
Line 2: Line 2:
  |origin = FOSE1
  |origin = FOSE1
  |summary = 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.
  |summary = 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.
  |name = GetNextRef
  |name = GetNextRef
  |returnType = ref
  |returnType = ref

Latest revision as of 04:27, 17 July 2014

< [[::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