Difference between revisions of "SetOwnership"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(CS 1.0 stuff)
imported>DragoonWraith
Line 10: Line 10:
[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: Object Functions]]
[[Category: Inventory Functions]]
[[Category: Object Functions (CS 1.0)]]
[[Category: Inventory Functions (CS 1.0)]]

Revision as of 20:13, 15 August 2007

Syntax:

SetOwnership NPC/FactionID (optional)

Example:

SetOwnership BladesFaction
RewardSwordRef.SetOwnership

Sets the ownership of the calling reference to the specified NPC or Faction. If the second parameter is left blank, the reference will be set to player ownership.