SetOwnership

From the Oblivion ConstructionSet Wiki
Revision as of 20:28, 24 March 2008 by imported>Scruggs (note about base npc vs ref)
Jump to navigation Jump to search

Syntax:

SetOwnership NPC/FactionID (optional)

Example:

SetOwnership BladesFaction
RewardSwordRef.SetOwnership

Sets the ownership of the calling reference to the specified base NPC or Faction. If the second parameter is left blank, the reference will be set to player ownership. Note that only a base NPC, not an NPC reference, can have ownership.