SetOwnership

SetOwnership functionEdit

Sets the ownership of the calling reference to the specified base NPC or Faction.

Syntax:

referenced-item.SetOwnership Owner

Examples:

SetOwnership BladesFaction
RewardSwordRef.SetOwnership

NotesEdit

  • You may specify an Owner NPC or an Owner FactionID.
  • If no Owner is specified, the reference will be set to player ownership

See alsoEdit