Difference between revisions of "SetOwnership"
Jump to navigation
Jump to search
imported>Fella |
imported>Scruggs (note about base npc vs ref) |
||
Line 5: | Line 5: | ||
RewardSwordRef.SetOwnership | 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. | 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. | ||
Revision as of 20:28, 24 March 2008
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.