GetInCellParam

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns true if the specified ref is in the given cell. Same functionality as GetInCell, except that this function does not run on a reference -- the actor is supplied as a parameter.

Syntax

[help]
(0, 1:int) GetInCellParam Cell:EditorID Actor:RefID

Example

GetInCellParam Megaton InternJohnRef

Returns true if Intern John is currently is any Megaton cell..

Notes

  • The CellName has to be a valid interior cell name. Exterior cells will not work. In some cases, it is necessary to create a "dummy" interior cell (e.g. Megaton) in order to use GetInCell for a set of related interior and exterior cells (e.g. all the MegatonXXX cells).

See Also