Difference between revisions of "IsCellOwner"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Ez0n3 m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Function | |||
IsCellOwner | |CSWikiPage = IsCellOwner | ||
|origin = GECK1 | |||
IsCellOwner CitadelRingA BrotherhoodSteelFaction | |summary = 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. | ||
|name = IsCellOwner | |||
|referenceType = [ActorRefID] | |||
|returnVal = 0, 1 | |||
|returnType = int | |||
|arguments = {{FunctionArgument | |||
|Name = Cell | |||
|Type = EditorID | |||
}}{{FunctionArgument | |||
|Name = <nowiki>ActorRefID|FactionID</nowiki> | |||
|Type = ref (optional) | |||
}} | |||
|example = IsCellOwner CitadelRingA BrotherhoodSteelFaction | |||
IsCellOwner MyMegatonHouse | IsCellOwner MyMegatonHouse | ||
}} | |||
==See Also== | ==See Also== | ||
[[IsInMyOwnedCell]] | *[[IsInMyOwnedCell]] | ||
[[Category: Functions]] | [[Category:Functions]] | ||
[[Category: Functions (GECK 1.1)]] | [[Category:Functions (GECK 1.1)]] | ||
[[Category: Crime Functions]] | [[Category:Crime Functions]] | ||
[[Category: Crime Functions (GECK 1.1)]] | [[Category:Crime Functions (GECK 1.1)]] | ||
[[Category: Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category: Condition Functions (GECK 1.1)]] | [[Category:Condition Functions (GECK 1.1)]] |
Latest revision as of 04:27, 15 January 2011
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: IsCellOwner.
A function included in the GECK version 1.1.0.36.
Description
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.
Syntax
(0, 1:int) [ActorRefID].IsCellOwner Cell:EditorID ActorRefID|FactionID:ref (optional)
Example
IsCellOwner CitadelRingA BrotherhoodSteelFaction IsCellOwner MyMegatonHouse