GetFirstRefInCell

From GECK

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

Personal tools