Open main menu

UESPWiki β

Morrowind Mod:XGetValue

< Mod / Morrowind: Morrowind Mod: MWSE

A function added by MWSE.

xGetValue returns the gold value of the object. Objects that can't be sold return 0.

In v0.9.4a it does not work for ammo and repair items. This is fixed in the MWSE update released by Merzasphor.

SyntaxEdit

value (long): ref->xGetValue

ExampleEdit

long target
long value

setx value to target->xGetValue

See AlsoEdit