GetFactionOwner - ObjectReference
Member of: ObjectReference Script
Gets the Faction that owns this object. Will return None if the object isn't owned by a faction.
SyntaxEdit
Faction Function GetFactionOwner() native
ParametersEdit
None.
Return ValueEdit
The Faction that owns this object.
ExamplesEdit
; Does the empire own the walker?
bool ownsWalker = (WalkerProperty.GetFactionOwner() == EmpireFactionProperty)