SetOwnership

From the CreationKit Wiki
Revision as of 12:45, 28 November 2011 by imported>Scornett
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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