Difference between revisions of "SetOwnership"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>Fella
Line 9: Line 9:


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: Inventory Functions]]
[[Category: Inventory Functions]]
[[Category: Inventory Functions (CS 1.0)]]
[[Category: Inventory Functions (CS 1.0)]]

Revision as of 11:59, 23 January 2008

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.