Difference between revisions of "IsCellOwner"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
||
Line 14: | Line 14: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Functions (GECK 1. | [[Category: Functions (GECK 1.1)]] | ||
[[Category: Crime Functions]] | [[Category: Crime Functions]] | ||
[[Category: Crime Functions (GECK 1. | [[Category: Crime Functions (GECK 1.1)]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] | ||
[[Category: Condition Functions (GECK 1. | [[Category: Condition Functions (GECK 1.1)]] |
Revision as of 12:42, 15 August 2009
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.