SetCellOwnership

Revision as of 13:58, 28 November 2011 by imported>Scornett
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 VersionEdit

SetActorOwner - Cell
SetFactionOwner - Cell