Morrowind Mod:XRefID

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

A function added by MWSE.

xRefID returns the objectid string of the object. This function may crash the game. If it does use xGetBaseID instead.

Syntax[edit]

objectid (string): ref->xRefID

Example[edit]

long ref         ;item reference
long itemid      ;string to store item id

setx itemid to ref->XRefID

See Also[edit]

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