GetFactionOwner - Cell

From Creation Kit
Jump to: navigation, 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

Faction Function GetFactionOwner() native

Parameters

None.

Return Value

The Faction that owns this cell.

Examples

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

See Also