Morrowind Mod:XSetName

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

A function added by MWSE.

xSetName uses the value parameter to change the NPC's name. The values changed by this function are not permanent and may be reset after 72-hours or a game reload. Currently only works for NPCs.

After the MWSE update released by Merzasphor, this function can set lockpick names.

Syntax[edit]

ref->xSetName new_name (string)

Example[edit]

long NPCref
long newname

setx newname to xStringBuild "Shmoe"
NPCref->xSetName newname

See Also[edit]

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