Difference between revisions of "IsCellOwner"
Jump to navigation
Jump to search
imported>Ez0n3 |
imported>Ez0n3 m |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
|Type = EditorID | |Type = EditorID | ||
}}{{FunctionArgument | }}{{FunctionArgument | ||
| | |Name = <nowiki>ActorRefID|FactionID</nowiki> | ||
|Type = ref (optional) | |||
}} | }} | ||
|example = IsCellOwner CitadelRingA BrotherhoodSteelFaction | |example = IsCellOwner CitadelRingA BrotherhoodSteelFaction | ||
Line 18: | Line 19: | ||
==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