GetFactionOwner - Cell

Member of: Cell Script

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

SyntaxEdit

Faction Function GetFactionOwner() native

ParametersEdit

None.

Return ValueEdit

The Faction that owns this cell.

ExamplesEdit

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

See AlsoEdit