Morrowind Mod:XSetValue

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

A function added by MWSE.

xSetValue sets the gold value of the object. Returns 1 if successful, 0 if failed.

Syntax[edit]

success (long): ref->xSetValue value (long)

Example[edit]

long itemref
long success
long value

set value to 100
setx success to itemref->xSetValue value

See Also[edit]

xGetOwner
xGetWeight
xGetEncumb
xGetQuality
xGetCondition
xGetMaxCondition
xGetCharge
xGetMaxCharge
xGetValue
xSetWeight
xSetQuality
xSetCondition
xSetMaxCondition
xSetCharge
xSetMaxCharge