Difference between revisions of "GetInCell"
Jump to navigation
Jump to search
imported>JOG (The parameter needs to be a complete CellName) |
imported>JOG m |
||
Line 4: | Line 4: | ||
GetInCell Chorrol | GetInCell Chorrol | ||
Returns true if the actor | Returns true if the actor is currently in the specified cell. | ||
'''Notes:''' | '''Notes:''' |
Revision as of 04:00, 31 August 2006
Syntax:
[ActorID.]GetInCell CellName
Example:
GetInCell Chorrol
Returns true if the actor is currently in the specified cell.
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).