Difference between revisions of "IsCellOwner"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Ez0n3
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Syntax:'''
{{Function
  IsCellOwner ''CellID NPC/FactionID (optional)''
  |CSWikiPage = IsCellOwner
'''Example:'''
|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  
 
}}
 
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.
 


==See Also==
==See Also==
[[IsInMyOwnedCell]]
*[[IsInMyOwnedCell]]
 


[[Category: Functions]]
[[Category:Functions]]
[[Category: Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category: Crime Functions]]
[[Category:Crime Functions]]
[[Category: Crime Functions (GECK 1.0)]]
[[Category:Crime Functions (GECK 1.1)]]
[[Category: Condition Functions]]
[[Category:Condition Functions]]
[[Category: Condition Functions (GECK 1.0)]]
[[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

[help]
(0, 1:int) [ActorRefID].IsCellOwner Cell:EditorID ActorRefID|FactionID:ref (optional)

Example

IsCellOwner CitadelRingA BrotherhoodSteelFaction
IsCellOwner MyMegatonHouse

See Also