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.
SyntaxEdit
cellid (string): ref->xMyCellID
ExampleEdit
long NPCref long cellID set cellID to NPCref->MyCellID