GetFirstRefInCell
From GECK
A function added by the Fallout Script Extender.
Contents
Description
Identical to GetFirstRef, except takes an additional parameter specifying which cell to scan, rather than using the current.
Note that if the specified cell is not loaded in memory, this function will only return persistent references.
Syntax
(reference) GetFirstRefInCell Cell:baseform FormTypeID:int CellDepth:int IncludeTakenRefs:bool
Example
ref rActor set rActor to GetFirstRefInCell GSProspectorSaloonInterior, 200
See Also
- GetFirstRef - includes a more detailed example on using scanners.
- GetNextRef
- GetRefs