GetFirstRefInCell

From GECK
Jump to: navigation, search


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

[help]
(reference) GetFirstRefInCell Cell:baseform FormTypeID:int CellDepth:int IncludeTakenRefs:bool 

Example

ref rActor
set rActor to GetFirstRefInCell GSProspectorSaloonInterior, 200

See Also