Mod:Creation Kit/GetFactionOwner - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

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

Syntax
Faction Function GetFactionOwner native

Parameters
None.

Return Value
The Faction that owns this object.

Examples
bool ownsWalker = (WalkerProperty.GetFactionOwner == EmpireFactionProperty)
 * Does the empire own the walker?