Difference between revisions of "GetInCell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
imported>ShadowDancer
(formatting)
Line 6: Line 6:
Returns true if the actor's current cell includes "CellName" as part of its name.  
Returns true if the actor's current cell includes "CellName" as part of its name.  


Note that CellName has to be a valid [[Interior_cells|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).  
'''Notes:'''
*The CellName has to be a valid [[Interior_cells|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==
==See Also==

Revision as of 09:12, 23 July 2006

Syntax:

 [ActorID.]GetInCell CellName

Example:

 GetInCell Chorrol 

Returns true if the actor's current cell includes "CellName" as part of its name.

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. Chorrol) in order to use GetInCell for a set of related interior and exterior cells (e.g. all the ChorrolXXX cells).

See Also