IsCellOwner

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

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

Example

IsCellOwner CitadelRingA BrotherhoodSteelFaction
IsCellOwner MyMegatonHouse 

See Also