Difference between revisions of "IsCellOwner"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(CS 1.0)
imported>Fella
Line 14: Line 14:


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: Crime Functions]]
[[Category: Crime Functions]]
[[Category: Crime Functions (CS 1.0)]]
[[Category: Crime Functions (CS 1.0)]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]

Revision as of 11:40, 23 January 2008

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