A function added by MWSE.
XSetWeight sets the weight of the object. Returns 1 if successful, 0 if failed.
In v0.9.4a, this function didn't work with lockpicks. This is fixed in the MWSE update released by Merzasphor.
SyntaxEdit
success (long): ref->xSetWeight weight (float)
ExampleEdit
long success long itemRef float weight set weight to 10 setx success to itemRef->xSetWeight weight