IsCellOwner

From the CreationKit Wiki
Revision as of 17:18, 28 November 2011 by imported>JBurgess
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

IsCellOwner CellID NPC/FactionID (optional)

Example:

IsCellOwner WhiterunDragonsReach DragonsreachOccupants
IsCellOwner WhiterunBreezehome 

Returns 1 if the specified cell is owned by the specified NPC or Faction. If the second parameter is left blank, the function returns 1 if the cell is owned by the player.

NOTE: Most spaces in Skyrim use faction ownership rather than actor ownership.

See Also

IsInMyOwnedCell

Papyrus Version

IsActorOwner - Cell
IsFactionOwner - Cell