Morrowind Mod:XMyCellID

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

A function added by MWSE.

xMyCellID returns a string containing the name of the cell the object (intended to be used with references to unique NPCs) inhabits. So fargoth_ref->xMyCellID would return "Seyda Neen" unless you've lured him into the wilderness for some reason. Useful for locating that missing companion. Can't locate items stored in containers or inventory.

Syntax[edit]

cellid (string): ref->xMyCellID

Example[edit]

long NPCref
long cellID

set cellID to NPCref->MyCellID

See Also[edit]

xPCCellID
xRefID
xGetName
xSetName
xGetBaseID
xStringCompare
xStringLength
xStringParse
xStringBuild
xStringMatch
xLogMessage
xMessageFix