IsCellOwner
Revision as of 12:03, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Syntax:
IsCellOwner CellID NPC/FactionID (optional)
Example:
IsCellOwner CitadelRingA BrotherhoodSteelFaction IsCellOwner MyMegatonHouse
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.