GetInCell

From the CreationKit Wiki
Jump to navigation Jump to search

Syntax:

 [ActorID.]GetInCell CellName

Example:

 GetInCell Chorrol 

Returns true if the actor's current cell is the specified cell.

Note: In previous Elder Scrolls games, this condition matched the beginning of the name. Checking GetInCell Chorrol would match "Chorrol", "Chorrol01", "ChorrolFarm", etc. Skyrim's version of this function DOES NOT work this way. The cell must be an exact match. This mechanism has been replaced with the location hierarchy and the GetInCurrentLoc and GetInCurrentLocAlias condition functions.

See Also[edit | edit source]

Papyrus Version[edit | edit source]

GetParentCell - ObjectReference