SetOwnership

From the Oblivion ConstructionSet Wiki
Revision as of 17:45, 10 December 2009 by imported>Shademe
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]