GetInCell

From the Oblivion ConstructionSet Wiki
Revision as of 03:59, 31 August 2006 by imported>JOG (The parameter needs to be a complete CellName)
Jump to navigation Jump to search

Syntax:

 [ActorID.]GetInCell CellName

Example:

 GetInCell Chorrol 

Returns true if the actor current is in the specified "CellName".

Notes:

  • The parameter needs to be a complete cellname. Due to the use of numeric FormIDs instead of verbose IDs, you can't specify just parts of the cell-name like in Morrowind.
  • 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. Chorrol) in order to use GetInCell for a set of related interior and exterior cells (e.g. all the ChorrolXXX cells).


See Also