Background for Skyrim SE
Member of the ObjectReference script
FactionfunctionGetFactionOwner()Native

Description

Wiki Description

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

Documentation Comment

Gets the faction that owns this object (or None if not owned by a Faction)


Caveats

CK Wiki - Notes

Explicit vs. Inherited Ownership

Object references can have explicit owners and inherited owners. An explicit owner is associated directly with the object. An inherited owner is derived from the container that contains the object, the cell that contains the object, or the cell that contains the container that contains the object when the object has not been associated with an explicit owner. GetFactionOwner() returns only the explicit owner of an object reference and None when an explicit owner is not found.


Examples

No human-generated examples found for this function.

Auto-Generated Example

Faction returnedValue = myObjectReference__toCallFunctionOn.GetFactionOwner()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.