GetFactionOwner - Cell

From the CreationKit Wiki
(Redirected from IsFactionOwner - Cell)
Jump to navigation Jump to search

Member of: Cell Script

Gets the Faction that owns this cell. Will return None if the cell isn't owned by a faction.

Syntax[edit | edit source]

Faction Function GetFactionOwner() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The Faction that owns this cell.

Examples[edit | edit source]

; Does the empire own the non-life star?
bool ownsNonLifeStar = (NonLifeStarProperty.GetFactionOwner() == EmpireFactionProperty)

See Also[edit | edit source]