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

Description

Wiki Description

Sets the faction as the owner of this object.

Documentation Comment

Sets this object's owner to the specified faction


Caveats


Parameters

FactionakFaction

CK Wiki Description

The Faction to set as this object's owner.


Examples

; Set the empire as owning the walker
WalkerProperty.SetFactionOwner(EmpireFactionProperty)

Auto-Generated Example

Faction myFaction__akFaction

myObjectReference__toCallFunctionOn.SetFactionOwner(myFaction__akFaction)

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.