IsCellOwner

From the Oblivion ConstructionSet Wiki
Revision as of 11:42, 20 June 2008 by imported>Vswe (Added Search Terms)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

IsCellOwner CellID NPC/FactionID (optional)

Example:

IsCellOwner WeynonPrioryHouse BladesFaction
IsCellOwner MyImperialCityHouse 


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.


See Also