Open main menu

UESPWiki β

Morrowind Mod:XSetName

< Mod / Morrowind: Morrowind Mod: MWSE

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.

SyntaxEdit

ref->xSetName new_name (string)

ExampleEdit

long NPCref
long newname

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

See AlsoEdit