GetInGridInCell

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

As GetInGrid, but the center cell of the grid is specified rather than using that of the player.

Syntax

[help]
(bool) GetInGridInCell Center:cell Target:reference CellDepth:int IncludeTakenRefs:bool 

Notes

  • Note that exterior cells are non-persistent and are only valid when within the current loaded grid. Calling the function with a cell that isn't currently loaded would therefore crash the script. To avoid this, check if the exterior cell is loaded before calling the function:
if eval (Springvale && GetInGridInCell Springvale PlayerREF 1)
; ...
endif

See Also