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 |
||
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 | |||
|Type = ActorRefID/FactionID (optional) | |||
}} | |||
|example = IsCellOwner CitadelRingA BrotherhoodSteelFaction | |||
IsCellOwner MyMegatonHouse | IsCellOwner MyMegatonHouse | ||
}} | |||
==See Also== | ==See Also== | ||
[[IsInMyOwnedCell]] | [[IsInMyOwnedCell]] | ||
[[Category: Functions]] | [[Category: Functions]] |
Revision as of 08:17, 11 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 (optional)
Example
IsCellOwner CitadelRingA BrotherhoodSteelFaction IsCellOwner MyMegatonHouse