Difference between revisions of "GetInCell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
m
imported>JOG
(revert... It sounded logical but I should've read the note...)
Line 4: Line 4:
   GetInCell Chorrol  
   GetInCell Chorrol  


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


'''Notes:'''
'''Notes:'''
*The parameter needs to be a complete cellname. Due to the use of numeric [[FormID]]s 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_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).  
*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 04:07, 31 August 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