GetFirstRefInCell
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
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
(ref) GetFirstRefInCell Cell:ref 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