A function added by MWSE.
XGetEncumb returns the total weight of all objects in the inventory of a container, NPC, or creature. Levelled list items don't have a weight but they are assigned a weight of 0.001 by this fnction. If any of the items in the group are respawning items then the resulting weight will be negative.
SyntaxEdit
encumberance (float): ref->xGetEncumb
ExampleEdit
long ref long encumberance setx encumberance to ref->xGetEncumb