IsCellOwner

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::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