SetCellOwnership

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

Sets the ownership of the specified cell to the specified NPC or Faction. If the second parameter is left blank, the cell will be set to player ownership.


Syntax:

SetCellOwnership CellID [Owner NPC/FactionID]

Example:

SetCellOwnership WhiterunJorrvaskr CompanionsFaction
SetCellOwnership WhiterunBreezehome 

Papyrus Version[edit | edit source]

SetActorOwner - Cell
SetFactionOwner - Cell