Morrowind Mod:XGetCondition

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

A function added by MWSE.

XGetCondition returns the current condition for armor and weapons and remaining uses for lockpicks, probes, and repair tools.

In v0.9.4a, this function returned the max condition of armor, weapons, lockpicks, probes, and repair items. This is fixed in the MWSE update released by Merzasphor.

Syntax[edit]

condition (long): ref->xGetCondition

Example[edit]

long ref
long condition

setx condition to ref->xGetCondition

See Also[edit]

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