Mod:Creation Kit/GetParentCell - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Obtains the Cell this object is currently in.

Syntax
Cell Function GetParentCell native

Parameters
None

Return Value
The Cell the object is currently in.

Examples
if (PinkPony.GetParentCell == Game.GetPlayer.GetParentCell) Debug.Trace("We are in the same cell with the pink pony") endIf
 * Is this object and the player in the same cell?