SetOwnership

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

SetOwnership function[edit | edit source]

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

Syntax:

referenced-item.SetOwnership Owner

Examples:

SetOwnership BladesFaction
RewardSwordRef.SetOwnership

Notes[edit | edit source]

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

See also[edit | edit source]