Difference between revisions of "SetOwnership"
Jump to navigation
Jump to search
imported>Vswe m (Added Search Terms) |
imported>Haama (Can't use reference variable) |
||
Line 15: | Line 15: | ||
SetOwnership BladesFaction | SetOwnership BladesFaction | ||
RewardSwordRef.SetOwnership | RewardSwordRef.SetOwnership | ||
==Notes== | |||
*'''SetOwnership''' only accepts explicit references for the referenced item/object. If you use a reference variable it will act as a return. | |||
==See also== | ==See also== |
Revision as of 11:01, 20 April 2009
SetOwnership function
Sets the ownership of the calling reference to the specified base NPC or Faction.
Syntax:
referenced-item.SetOwnership Owner
Syntax Detail:
Owner - Specify either an Owner NPC or an Owner FactionID.
Examples:
SetOwnership BladesFaction RewardSwordRef.SetOwnership
Notes
- SetOwnership only accepts explicit references for the referenced item/object. If you use a reference variable it will act as a return.
See also
- GetOwner
- GetParentCellOwner
- GetOwningFactionRequiredRank
- GetParentCellOwningFactionRequiredRank
- IsOffLimits
- Interior cells (as a reference on Cell Ownership).
- SetCellOwnership