Difference between revisions of "IsCellOwner"
Jump to navigation
Jump to search
imported>JOG |
imported>JOG |
||
Line 16: | Line 16: | ||
[[Category: Crime Functions]] | [[Category: Crime Functions]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] | ||
Revision as of 10:54, 28 June 2006
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.