Open main menu

UESPWiki β

Morrowind Mod:XRefType

< Mod / Morrowind: Morrowind Mod: MWSE

A function added by MWSE.

xRefType gets the four byte record name of the reference.

SyntaxEdit

type (long): ref->xRefType

ExampleEdit

long objtype
long ref
setx ref to xgetref "steel dagger" ; there must be a steel dagger in the cell
Setx objtype to ref->xRefType

In this case the variable objtype will be 1346454871, which is the four byte record name WEAP.

NotesEdit

A table for all of the record names retrievable by xRefType.

Long Name
1230259009 ACTI (Activator)
1212369985 ALCH (Potion)
1330466113 AMMO (arrow or bolt)
1095782465 APPA (Alchemy Apparatus)
1330467393 ARMO (Armor)
1263488834 BOOK (Book/Scroll)
1414483011 CLOT (Clothing)
1414418243 CONT (Container)
1095062083 CREA (Creature)
1380929348 DOOR (Door)
1380404809 INGR (Ingredient)
1129727308 LEVC (Levelled Creature)
1230390604 LEVI (Levelled Item)
1212631372 LIGH (Light)
1262702412 LOCK (Lockpick)
1129531725 MISC (Miscellaneous Item)
1598246990 NPC_ (NPC)
1112494672 PROB (Probe)
1095779666 REPA (Repair Item)
1414546259 SCPT (Script)
1195658835 SNDG (Sound Generator)
1413567571 STAT (Static)
1346454871 WEAP (Weapon)

See AlsoEdit