Morrowind Mod:XGetOwner

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

A function added by MWSE.

XGetOwner returns a 0 if the object is not owned, the objectid of the owner of the item if it is owned by a specific NPC or the string "unknown" if it is owned by a faction or controlled by a variable.

Syntax[edit]

owner (string): ref->xGetOwner

Example[edit]

long owner
long itemRef

setx owner to itemRef->XGetOwner

See Also[edit]

xGetOwnerInfo
xGetValue
xGetWeight
xGetEncumb
xGetQuality
xGetCondition
xGetMaxCondition
xGetCharge
xGetMaxCharge
xSetValue
xSetWeight
xSetQuality
xSetCondition
xSetMaxCondition
xSetCharge
xSetMaxCharge