Difference between revisions of "GetInCell"
Jump to navigation
Jump to search
imported>ShadowDancer (formatting) |
imported>JOG (The parameter needs to be a complete CellName) |
||
Line 4: | Line 4: | ||
GetInCell Chorrol | GetInCell Chorrol | ||
Returns true if the actor | Returns true if the actor current is in the specified "CellName". | ||
'''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 03:59, 31 August 2006
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).