SetOwnership

From the CreationKit Wiki
Jump to navigation Jump to search

Sets the ownership of the reference to the specified NPC or Faction. If the second parameter is left blank, the reference will be set to player ownership.

Syntax:

SetOwnership (NPC/Faction)

Example:

SetOwnership BladesFaction
RewardSwordRef.SetOwnership

Papyrus Version[edit | edit source]

SetActorOwner - ObjectReference
SetFactionOwner - ObjectReference