Open main menu

UESPWiki β

Morrowind Mod:XGetBaseID

< Mod / Morrowind: Morrowind Mod: MWSE

A function added by MWSE.

xGetBaseID returns the base part of the objectid for the object. This is really intended for use with NPCs. There are 36 diseased Dreamers who share the object id "dreamer" but if you use the xRefID function on one of them you will get an id that is unique to that particular NPC such as "dreamer000002", this function would only return "dreamer".

SyntaxEdit

objectid (string): ref->xGetBaseID

ExampleEdit

See AlsoEdit