GetFactionOwner - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: 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

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

See Also