Difference between revisions of "GetNextRef"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
(Automated import of articles)
 
imported>Odessa
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''GetNextRef'''
{{Function
{{Function
  |origin = FOSE1
  |origin = FOSE1
  |summary = 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.
  |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
}}
}}
==Example==
See [[GetFirstRef]]
[[Category:Functions_(FOSE)]]
[[Category:Functions_(FOSE)]]

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