GetNearCells

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Returns an array containing references of near cells. Cell depth argument specifies how many local cells to scan.

Syntax

[help]
(Near_cells:array_var) GetNearCells Depth:int

Example

let my_array := GetNearCells 2

Will scan and return all references of cells with depth of 2.

Notes

  • If you specify "-1" parameter for cell depth, "uGridsToLoad:General" will be used.